All language subtitles for 69. Creating the Meta Upgrade Card

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian Download
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,256 --> 00:00:04,608 We've got our code in place for saving and loading data 2 00:00:04,864 --> 00:00:09,216 And now we actually need a way for the player to be able to choose the upgrades 3 00:00:09,472 --> 00:00:11,008 When they're in the game 4 00:00:11,520 --> 00:00:15,104 So we are going to need to create a new UI for 5 00:00:15,872 --> 00:00:18,944 And to start let's Create the upgrade card 6 00:00:19,712 --> 00:00:20,736 Now what I'm going to do 7 00:00:20,992 --> 00:00:22,528 Is I'm going to 8 00:00:22,784 --> 00:00:25,344 Essentially just copy the upgrade card that we have 9 00:00:26,112 --> 00:00:27,904 So if I go to my upgrade 10 00:00:28,416 --> 00:00:29,696 MyBuilder upgrade card 11 00:00:30,464 --> 00:00:35,584 This is basically what we want duplicate here there will be some minor changes 12 00:00:36,096 --> 00:00:37,888 I'm going to duplicate this 13 00:00:38,144 --> 00:00:38,912 Card now 14 00:00:39,168 --> 00:00:41,728 We couldn't merge these together so 15 00:00:42,240 --> 00:00:47,104 Include some functionality in here or abstract out the common functionality between 16 00:00:47,616 --> 00:00:50,176 The ability upgrade in the middle upgrades 17 00:00:50,432 --> 00:00:54,272 I think these scenes are going to end up being different enough from each other 18 00:00:54,528 --> 00:00:57,600 That it's not worth the effort trying to reflect 19 00:00:57,856 --> 00:00:59,392 And unify bunch of things 20 00:00:59,648 --> 00:01:00,653 So what's going to straight up duplicate 21 00:01:00,655 --> 00:01:03,131 Subtitled by online-courses.club We compress knowledge for you! 22 00:01:03,132 --> 00:01:06,304 In one trick you can use if you go your tab here with the ability upgrade card 23 00:01:07,328 --> 00:01:09,632 Play cricket you going to punch other options here 24 00:01:10,144 --> 00:01:13,216 And you can for example click showing files 25 00:01:13,728 --> 00:01:16,544 And now automatically expand your filesystem 26 00:01:17,056 --> 00:01:18,592 To where that seem is locate 27 00:01:18,848 --> 00:01:21,664 And that makes duplicating it very easy so I'm just going to 28 00:01:21,920 --> 00:01:24,992 Select that ability upgrade card hit control 29 00:01:25,248 --> 00:01:27,040 And make sure that you have the file system 30 00:01:27,296 --> 00:01:28,064 Select 31 00:01:28,320 --> 00:01:29,344 In contacts 32 00:01:29,600 --> 00:01:30,112 Control d 33 00:01:30,624 --> 00:01:33,952 And then I'm going to call this Meadow upgrade car 34 00:01:36,512 --> 00:01:39,840 Get let's go ahead and open up that made upgrade card and clothes 35 00:01:40,096 --> 00:01:40,864 The other scenes 36 00:01:41,376 --> 00:01:42,912 Unless detach this 37 00:01:43,168 --> 00:01:44,704 I'm going to detach The Script 38 00:01:45,216 --> 00:01:45,728 Annan 39 00:01:45,984 --> 00:01:47,008 Create a new script 40 00:01:48,032 --> 00:01:48,800 That we can use 41 00:01:49,312 --> 00:01:54,176 And let's open up our ability upgrade card script again 42 00:01:54,688 --> 00:01:59,296 And let's copy over some of the functionality that we need 43 00:02:00,064 --> 00:02:04,928 And actually now that I look at it I think we can just copy the entire contents of this 44 00:02:05,184 --> 00:02:08,256 Scripture from our ability upgrades 45 00:02:09,024 --> 00:02:09,536 Which I 46 00:02:09,792 --> 00:02:14,912 Up here you can go ahead and open the ability upgrades card scene if you don't have it open 47 00:02:15,168 --> 00:02:16,192 Go ahead and 48 00:02:17,472 --> 00:02:19,520 And then we'll put it into the meadow up 49 00:02:19,776 --> 00:02:20,288 Play card 50 00:02:20,544 --> 00:02:26,688 And so I'm going to close that ability upgrade card seen and I'm going to rename this route note in my med up 51 00:02:26,944 --> 00:02:27,456 Card to 52 00:02:27,968 --> 00:02:28,992 Metre upgrade 53 00:02:29,504 --> 00:02:32,320 Alright so what things do we still need 54 00:02:32,576 --> 00:02:34,368 Well we do need the 55 00:02:34,880 --> 00:02:36,160 Play in animation 56 00:02:36,672 --> 00:02:37,696 In the playtest car 57 00:02:38,720 --> 00:02:44,864 We are going to rename this function to set up grade and this type is going to 58 00:02:46,144 --> 00:02:46,912 Measure up 59 00:02:47,168 --> 00:02:52,032 Ok we don't need this bit of the select card so for other car 60 00:02:52,288 --> 00:02:55,104 Little loop around here we don't need any of that so let's get rid of 61 00:02:55,872 --> 00:02:58,944 An actually we don't even need any discard whatsoever something 62 00:02:59,456 --> 00:03:01,760 Remove this play discard function 63 00:03:03,040 --> 00:03:04,064 And that should be good 64 00:03:04,320 --> 00:03:06,368 Ok that should be a good start 65 00:03:06,624 --> 00:03:07,392 For us 66 00:03:08,160 --> 00:03:10,976 And let's let's go back to the 2DS in here 67 00:03:11,232 --> 00:03:13,280 And in our animationplayer 68 00:03:13,792 --> 00:03:16,864 We don't need this card animation anymore so I'm going to 69 00:03:17,120 --> 00:03:18,144 The animation button 70 00:03:18,400 --> 00:03:21,216 Click remove while I have the discard selected 71 00:03:21,728 --> 00:03:22,752 No I'm going to click ok 72 00:03:23,008 --> 00:03:25,056 Just to clean it up because we don't need it anymore 73 00:03:25,312 --> 00:03:26,848 We are going to need a couple more 74 00:03:27,104 --> 00:03:29,152 Elements on this cardigan 75 00:03:29,920 --> 00:03:31,456 One thing that were going to need 76 00:03:32,992 --> 00:03:36,064 So in the box container here let's click add child node 77 00:03:36,576 --> 00:03:37,088 Button 78 00:03:37,856 --> 00:03:39,136 And then let's say 79 00:03:39,392 --> 00:03:40,672 What's cordless button 80 00:03:42,720 --> 00:03:43,232 Acquire 81 00:03:43,744 --> 00:03:45,024 Or we can say 82 00:03:46,560 --> 00:03:47,584 What's card purchase 83 00:03:48,608 --> 00:03:49,888 Those are purchased but 84 00:03:50,144 --> 00:03:51,936 And we'll call it purchase button here 85 00:03:52,448 --> 00:03:56,032 And let's Mark that as a unique name by right clicking 86 00:03:56,288 --> 00:03:58,592 And saying access as unique name 87 00:03:58,848 --> 00:04:01,152 And one other thing that we might want 88 00:04:01,408 --> 00:04:05,760 Do is have some sort of indicator of how much experience is needed 89 00:04:06,016 --> 00:04:06,528 For this 90 00:04:07,296 --> 00:04:08,320 So I think we can put 91 00:04:08,832 --> 00:04:10,368 In this box container as well 92 00:04:10,880 --> 00:04:12,416 So let's do a progress bar 93 00:04:13,696 --> 00:04:15,232 Put that above the purchase but 94 00:04:16,512 --> 00:04:18,815 Let's uncheck show percentage 95 00:04:19,583 --> 00:04:22,911 Set max value to one the step is fine 96 00:04:23,935 --> 00:04:26,239 And let's see what happens when we set the value 97 00:04:26,495 --> 00:04:27,007 5 98 00:04:28,543 --> 00:04:32,127 Ok so we're going to need to change the inner colour of this 99 00:04:32,639 --> 00:04:35,455 Progress bar so I'm going to scroll down to 100 00:04:36,479 --> 00:04:37,759 The theme override 101 00:04:38,015 --> 00:04:39,295 And for the 102 00:04:39,807 --> 00:04:40,319 Phil 103 00:04:41,343 --> 00:04:44,927 I'm going to select new style box flat for the Phil style there 104 00:04:45,695 --> 00:04:49,023 And I'm going to go into that and let's see what we got going on 105 00:04:49,535 --> 00:04:54,655 So the bgcolor I'm going to change to that light blue for the experience in that is 106 00:04:54,911 --> 00:04:57,983 Hex code 75y 3FF 107 00:04:58,751 --> 00:05:02,591 And I'm going to send my border with 22 in every Direction 108 00:05:02,847 --> 00:05:04,639 And then change my border colour 109 00:05:05,407 --> 00:05:06,175 2 110 00:05:06,431 --> 00:05:07,711 I have an alpha of 0 111 00:05:09,247 --> 00:05:13,087 Kept and I'm going to change the content margins to 112 00:05:13,343 --> 00:05:15,135 4-in the top 113 00:05:15,647 --> 00:05:16,671 For in the bottom 114 00:05:17,439 --> 00:05:18,719 And I wish I could something look 115 00:05:18,975 --> 00:05:19,487 Like this 116 00:05:21,023 --> 00:05:21,535 Alright 117 00:05:21,791 --> 00:05:24,095 But perhaps we should have some time 118 00:05:24,351 --> 00:05:26,911 To go along with this in perhaps even in ice 119 00:05:27,423 --> 00:05:29,215 So let's Create another element 120 00:05:29,727 --> 00:05:33,823 And actually let's create a new age box container as a child of that 121 00:05:34,079 --> 00:05:34,591 This container 122 00:05:35,103 --> 00:05:37,663 Let's put that above the progress bar 123 00:05:38,175 --> 00:05:40,223 And inner Edge box container 124 00:05:40,479 --> 00:05:42,527 Do a texture rectangle 125 00:05:43,039 --> 00:05:44,063 And then 126 00:05:46,111 --> 00:05:51,487 Is there an Xbox container is essentially the view box container but horizontally so it will horizontal 127 00:05:51,743 --> 00:05:52,767 Align the item 128 00:05:53,535 --> 00:05:55,071 In for a texture rectangle here 129 00:05:55,327 --> 00:05:59,679 Let's find that vile resource so we going to see in the game of 130 00:05:59,935 --> 00:06:00,703 Experience by 131 00:06:00,959 --> 00:06:01,983 West draganova 132 00:06:02,239 --> 00:06:03,775 Experian smile.png 133 00:06:04,287 --> 00:06:06,335 So that it's a nice little icon there 134 00:06:06,591 --> 00:06:09,919 Ok and then for a label let's just put in some 135 00:06:10,687 --> 00:06:11,967 Placeholder text like 136 00:06:12,479 --> 00:06:14,015 50 out of two hundred 137 00:06:15,807 --> 00:06:17,599 This label is a little bit 138 00:06:18,367 --> 00:06:23,487 Off in terms of it online mint and this is a problem that were having with this font 139 00:06:24,255 --> 00:06:27,839 We can ask that are little bit by going down to the container size in here 140 00:06:28,095 --> 00:06:30,143 And changing the vertical 141 00:06:30,399 --> 00:06:32,191 Sizing to shrink and 142 00:06:32,703 --> 00:06:35,263 Wish you put it at the bottom of the Xbox container 143 00:06:35,519 --> 00:06:38,079 And that sort of aligns it a little bit 144 00:06:38,591 --> 00:06:43,967 Ok and then with the label selected let's change the type variation under the theme section 145 00:06:44,223 --> 00:06:45,503 Two blue outline 146 00:06:46,015 --> 00:06:47,807 And we are good girl 147 00:06:48,063 --> 00:06:50,623 Now one thing that we can do that very interesting 148 00:06:50,879 --> 00:06:51,391 Any 149 00:06:51,647 --> 00:06:53,183 Each box of the box contain 150 00:06:53,695 --> 00:06:54,975 Is we can actually change 151 00:06:55,999 --> 00:06:57,791 Sea margin or the separate 152 00:06:58,047 --> 00:06:58,559 To be neg 153 00:06:59,327 --> 00:07:03,423 So if I go to my age box container here and I change my separation to be near 154 00:07:03,679 --> 00:07:04,191 4 155 00:07:04,447 --> 00:07:06,495 I can actually make these things appear some 156 00:07:07,007 --> 00:07:07,775 On top of 157 00:07:09,055 --> 00:07:13,407 And I think I'm gonna switch the order of this so that I can make that happen so I'm going to 158 00:07:13,663 --> 00:07:15,199 The text to read below level 159 00:07:15,455 --> 00:07:17,503 And maybe it doesn't look so good 160 00:07:18,015 --> 00:07:23,135 Being exactly overlapped by that but if I change my separation to something like -2 161 00:07:23,647 --> 00:07:25,183 Or perhaps -4 162 00:07:28,255 --> 00:07:29,791 Not my look a little bit nicer 163 00:07:33,375 --> 00:07:33,887 Ok 164 00:07:34,143 --> 00:07:40,287 So that's actually not looking that great so I'm going to kill it with a different approach year so I'm going to keep 165 00:07:40,543 --> 00:07:41,055 Text Direct 166 00:07:41,567 --> 00:07:45,151 But I'm going to create a margin container under the sea box 167 00:07:45,663 --> 00:07:49,759 And I'm going to make the progress bar a child of that margin container 168 00:07:51,295 --> 00:07:53,087 And then I can move my text array 169 00:07:53,343 --> 00:07:55,903 As the first child of that margin container as 170 00:07:56,415 --> 00:07:59,487 Now you can see that my text Direct goes a little bit haywire here 171 00:07:59,999 --> 00:08:03,327 That's ok we just need to select the text erect down here 172 00:08:03,583 --> 00:08:05,887 And change the container size 173 00:08:06,911 --> 00:08:07,679 2 174 00:08:07,935 --> 00:08:09,215 Shrink begin 175 00:08:09,471 --> 00:08:11,775 In the horizontal and shrink begin 176 00:08:12,287 --> 00:08:12,799 In the 177 00:08:13,311 --> 00:08:15,615 And that's actually go ahead and move that texture 178 00:08:16,127 --> 00:08:19,199 As the last child of the modern container that Rangers on top 179 00:08:19,455 --> 00:08:22,015 I'm going to show you a little trick that can make 180 00:08:22,271 --> 00:08:24,575 Organising a lay a little bit better 181 00:08:25,087 --> 00:08:28,415 If you go ahead and add just a regular old control note 182 00:08:28,671 --> 00:08:29,183 2 183 00:08:30,207 --> 00:08:35,071 A container and then make whatever you're trying to position a child of that control note 184 00:08:35,327 --> 00:08:39,679 What your notice now is that I can take this and I can position it harder I want 185 00:08:40,191 --> 00:08:41,727 The container affecting that 186 00:08:42,495 --> 00:08:45,823 So what does control now I'm going to keep it locked in the top left 187 00:08:46,079 --> 00:08:49,663 And I'm going to change the sizing of that control no to shrink 188 00:08:49,919 --> 00:08:52,223 Begin and drink begin in bar 189 00:08:52,479 --> 00:08:52,991 Cases 190 00:08:53,247 --> 00:08:55,295 So that means that it will be at the top left corner 191 00:08:56,319 --> 00:08:57,343 And then my text 192 00:08:58,111 --> 00:08:59,135 I can simply take 193 00:08:59,903 --> 00:09:03,231 This and use the move tool to position at haiwan 194 00:09:03,487 --> 00:09:04,255 And I'm going to put it 195 00:09:04,511 --> 00:09:05,279 Reading vs 196 00:09:05,535 --> 00:09:06,303 RV 197 00:09:06,815 --> 00:09:08,095 Progress bar like cell 198 00:09:08,351 --> 00:09:11,423 And now he's got a pretty at least decent looking 199 00:09:11,679 --> 00:09:12,447 You are 200 00:09:12,703 --> 00:09:14,239 For the cost of 201 00:09:14,495 --> 00:09:15,007 The ark 202 00:09:15,519 --> 00:09:18,079 Another text is a little bit disassociated from 203 00:09:18,847 --> 00:09:21,407 And so dealing with her levels of nesting here 204 00:09:21,663 --> 00:09:25,247 I'm actually going to get rid of that label out of the Xbox contain 205 00:09:25,503 --> 00:09:28,831 The experiment failed that's ok we're just doing 206 00:09:29,087 --> 00:09:31,903 Some iteration trying to get the UI to look like we wanted to 207 00:09:33,951 --> 00:09:37,791 Now this label and it's margin container actually need to be associated together 208 00:09:38,047 --> 00:09:40,095 So I'm going to create a new v box container 209 00:09:41,631 --> 00:09:42,143 And 210 00:09:42,911 --> 00:09:47,519 I'm going to take that label and emergent container and put it as a child of their vbox contain 211 00:09:48,287 --> 00:09:49,055 Like so 212 00:09:49,823 --> 00:09:51,615 And I'll keep that above the butt 213 00:09:51,871 --> 00:09:52,383 Kia 214 00:09:53,407 --> 00:09:56,479 Ok so with the label let's change the text 215 00:09:57,247 --> 00:09:58,015 To be 216 00:09:59,039 --> 00:10:00,319 Scented in the horizontal 217 00:10:00,345 --> 00:10:02,632 Subtitled by online-courses.club We compress knowledge for you! 218 00:10:02,634 --> 00:10:03,903 And then for the vbox container that contains that text 219 00:10:04,415 --> 00:10:07,231 Let's go down to The Separation and make it something like an egg 220 00:10:07,487 --> 00:10:07,999 2 221 00:10:08,255 --> 00:10:09,535 Or let's try 222 00:10:09,791 --> 00:10:11,071 -1 223 00:10:11,327 --> 00:10:14,655 So -1 works well as a separation there I think 224 00:10:14,911 --> 00:10:19,263 Alright so that looks decent I probably would spend more time playing 225 00:10:19,519 --> 00:10:20,543 The placement of this 226 00:10:21,823 --> 00:10:23,359 We need a move on with 227 00:10:23,615 --> 00:10:25,151 The presentation of the Rose 228 00:10:25,407 --> 00:10:25,919 The card 229 00:10:26,175 --> 00:10:27,711 Upgrade card 230 00:10:27,967 --> 00:10:28,735 Now has 231 00:10:29,247 --> 00:10:35,391 A different pivot offset and it's actually going to have quite a bit of a different pivot offset than what we 232 00:10:35,647 --> 00:10:40,767 Configured for a custom minimum size so I'm actually going to get rid of the customer minimum size in the Y 233 00:10:41,023 --> 00:10:42,559 So I'm going to set that to 0 234 00:10:42,815 --> 00:10:45,887 We will keep it at 1:50 because that's a good size 235 00:10:46,143 --> 00:10:48,703 Turn the card I might even bumpers up to 170 236 00:10:49,471 --> 00:10:51,519 Yeah I think 170 looks good for 237 00:10:51,775 --> 00:10:52,287 It's there 238 00:10:53,311 --> 00:10:54,335 Alright so 239 00:10:54,591 --> 00:10:58,687 Let's go ahead and expanded this entire subtree here 240 00:10:58,943 --> 00:11:00,735 And let's select everything 241 00:11:01,247 --> 00:11:02,527 With shift key 242 00:11:03,039 --> 00:11:06,367 And what does Guinness scroll down until we see the mouse filter app 243 00:11:06,879 --> 00:11:07,391 Now 244 00:11:07,903 --> 00:11:13,023 It's going to say ignore probably but we just added a bunch of different control now 245 00:11:13,791 --> 00:11:15,583 So what we're going to do is run a click 246 00:11:16,351 --> 00:11:17,119 Filter mode 247 00:11:17,631 --> 00:11:18,399 Clickstay 248 00:11:18,911 --> 00:11:20,447 And then we're going to set it back to ignore 249 00:11:20,959 --> 00:11:23,263 So what we doing is for selling everything to stop 250 00:11:24,031 --> 00:11:27,615 To get all of them to be the same option and then setting them all back to it 251 00:11:28,127 --> 00:11:29,151 Because if we don't do that 252 00:11:29,663 --> 00:11:30,943 And we have them all highlight 253 00:11:31,199 --> 00:11:34,527 Then there are some in that highlighted collection 254 00:11:34,783 --> 00:11:36,063 Can't set to ignore 255 00:11:36,575 --> 00:11:38,623 Even though that's what the u i is 10 256 00:11:38,879 --> 00:11:42,463 So just setting it to something else and then sending them back to ignore 257 00:11:42,719 --> 00:11:45,279 We'll make sure every single night here is 258 00:11:45,791 --> 00:11:46,559 Set to ignore 259 00:11:46,815 --> 00:11:49,887 Now the one thing we don't want to ignore that is the purchase button 260 00:11:50,143 --> 00:11:51,167 So let's go go 261 00:11:51,423 --> 00:11:52,191 To the purchase button 262 00:11:52,447 --> 00:11:54,751 We probably should have excluded out from our 263 00:11:55,519 --> 00:11:57,055 Selection but that's ok 264 00:11:57,311 --> 00:11:58,847 What does go back to the 265 00:11:59,103 --> 00:12:00,895 Mouse filter mode and Reece 266 00:12:01,407 --> 00:12:02,431 Because we don't want to 267 00:12:02,687 --> 00:12:03,199 To stop 268 00:12:04,223 --> 00:12:08,575 Actually now that I think about it because we enable clicking and harvest 269 00:12:09,087 --> 00:12:09,599 The cards 270 00:12:09,855 --> 00:12:11,647 The buttons not gonna work so I think 271 00:12:11,903 --> 00:12:14,463 I think in our case it actually makes more sense 272 00:12:14,975 --> 00:12:16,255 To not have 273 00:12:16,511 --> 00:12:18,047 A hover and select state 274 00:12:18,303 --> 00:12:18,815 Cardinal 275 00:12:19,327 --> 00:12:23,935 Actually going to delete most of these animation players and his animations 276 00:12:24,447 --> 00:12:29,055 Let's go ahead in Inner animation playlist delete the in animation so I'm going to remove that 277 00:12:29,823 --> 00:12:32,639 We will keep the selected animation by let's make a minotaur 278 00:12:34,431 --> 00:12:38,527 So that our purchase animation with scroll in zoom in just a little 279 00:12:39,295 --> 00:12:40,575 Purchase animation 280 00:12:41,087 --> 00:12:45,183 Goes from one point to in the scale all the way to 0 281 00:12:45,951 --> 00:12:46,463 But 282 00:12:46,719 --> 00:12:49,023 I want to instead go back to 1 283 00:12:49,279 --> 00:12:52,351 So at last key from here I'm going to change that to 1 284 00:12:52,607 --> 00:12:55,423 And so what we're going to get is just sort of an exaggerated 285 00:12:55,935 --> 00:12:57,727 Will shuffle when week 286 00:12:58,495 --> 00:12:59,263 And I will be 287 00:12:59,519 --> 00:13:00,031 Perth 288 00:13:00,543 --> 00:13:01,823 For our selected anime 289 00:13:03,103 --> 00:13:05,407 Anna let's at the interpolation mode on this route 290 00:13:05,663 --> 00:13:06,175 2 cubic 291 00:13:06,943 --> 00:13:08,991 So that's probably the only animation we need 292 00:13:09,247 --> 00:13:12,575 We don't need a hover animation player because that's going to be annoying 293 00:13:12,831 --> 00:13:15,903 For when we have a budget cards in the screen so 294 00:13:16,159 --> 00:13:18,207 What's the Leeds v hover animation player 295 00:13:18,719 --> 00:13:20,511 And then let's delete the other player 296 00:13:20,767 --> 00:13:21,535 Component 297 00:13:22,303 --> 00:13:22,815 Here 298 00:13:23,839 --> 00:13:27,935 And then let's go into our script and let's remove anything related to those end 299 00:13:28,191 --> 00:13:28,959 Directions here so 300 00:13:29,471 --> 00:13:31,775 We don't need to play the in animation 301 00:13:32,543 --> 00:13:33,567 We actually don't need this 302 00:13:33,823 --> 00:13:34,591 Play info 303 00:13:35,615 --> 00:13:36,383 So we'll get rid of 304 00:13:36,895 --> 00:13:37,919 We do want 305 00:13:38,175 --> 00:13:39,711 Yes functions 306 00:13:39,967 --> 00:13:42,015 Card so that's good 307 00:13:42,271 --> 00:13:44,319 We don't need this selected function anymore 308 00:13:44,831 --> 00:13:47,391 The so I can sing anymore so let's get rid of that 309 00:13:47,647 --> 00:13:48,671 And get rid of it is a weed 310 00:13:49,951 --> 00:13:50,975 We don't need any other 311 00:13:51,487 --> 00:13:53,279 And will remove this so I can sing 312 00:13:54,815 --> 00:14:00,959 And we also don't need this disabled flag anymore so let's go out and get rid of disabled plug and then 313 00:14:01,215 --> 00:14:03,263 Get rid of anywhere worth checking 314 00:14:04,031 --> 00:14:06,591 That disabled flag also we don't need this on now 315 00:14:06,847 --> 00:14:07,871 So get rid of that 316 00:14:08,895 --> 00:14:09,919 Disable 317 00:14:10,943 --> 00:14:11,455 And 318 00:14:11,967 --> 00:14:12,479 Disable there 319 00:14:12,991 --> 00:14:14,271 Ok and then we don't 320 00:14:14,527 --> 00:14:15,551 This connection 321 00:14:17,087 --> 00:14:19,647 So you can see why we opted to create 322 00:14:20,927 --> 00:14:24,511 Brand new seen compared to our ability upgrade card 323 00:14:25,023 --> 00:14:26,559 So it might be tempting 324 00:14:26,815 --> 00:14:28,095 To try the shop 325 00:14:29,119 --> 00:14:31,679 Two similar things together in terms of 326 00:14:31,935 --> 00:14:32,447 Function 327 00:14:33,727 --> 00:14:36,543 Here is the tree for our ability upgrade card 328 00:14:37,055 --> 00:14:39,103 And then here's the tree for a metre upgrade 329 00:14:39,615 --> 00:14:42,687 It is completely and totally different and we don't need 330 00:14:43,199 --> 00:14:46,015 75% of functionality from the ability upgrade 331 00:14:46,271 --> 00:14:50,111 We just used it as our base so we don't have to rebuild everything from scratch 332 00:14:50,879 --> 00:14:51,647 And you can see 333 00:14:51,903 --> 00:14:53,695 It's become so much different so 334 00:14:54,207 --> 00:14:57,791 I know especially if you're engineering minded the temptation 335 00:14:58,047 --> 00:15:02,655 To say these things are going to be similar so I'm going to immediately try to make them the same thing 336 00:15:02,911 --> 00:15:06,239 I'm going to use inheritance or I'm going to do component design 337 00:15:07,263 --> 00:15:09,823 A lot of times especially when you're working on you wise 338 00:15:10,079 --> 00:15:12,639 That is actually going to hurt you more than it 339 00:15:13,151 --> 00:15:14,687 Certainly if you end up 340 00:15:14,943 --> 00:15:18,783 Finding yourself using a lot of similar functionality all over the place 341 00:15:19,039 --> 00:15:20,319 Then you should definitely 342 00:15:20,575 --> 00:15:24,415 Abstract that into something that like a shared scene or shared 343 00:15:24,671 --> 00:15:25,695 Or something about nature 344 00:15:25,951 --> 00:15:28,767 If you just building out a new UI initial 345 00:15:29,279 --> 00:15:30,815 Just start with duplicating 346 00:15:31,327 --> 00:15:32,351 And work with the sea 347 00:15:32,607 --> 00:15:36,959 And if you discover that it ends up being largely the same then you can figure out 348 00:15:37,471 --> 00:15:39,519 But I don't message them until you're sure 349 00:15:40,031 --> 00:15:41,823 That are going to be the same because that's just 350 00:15:42,847 --> 00:15:46,175 So we've got our scene which is much different in our building upgrade car 351 00:15:46,431 --> 00:15:47,967 And it's looking great 352 00:15:48,223 --> 00:15:48,991 And so 353 00:15:49,247 --> 00:15:54,111 In the next lesson were going to set up the UI that can display all of our upgrades 25495

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.