Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:06,656 --> 00:00:11,776
All right so this is your very first Unity project
2
00:00:13,568 --> 00:00:15,360
Might look a little bit overwhelming but
3
00:00:15,616 --> 00:00:17,408
Don't get too nervous here
4
00:00:18,176 --> 00:00:18,944
Honestly
5
00:00:19,200 --> 00:00:20,992
All of these various tabs
6
00:00:21,248 --> 00:00:25,600
Names and icons once you figure out what they are it's really easy
7
00:00:25,856 --> 00:00:26,624
Understand
8
00:00:26,880 --> 00:00:30,976
And it's pretty easy to understand cuz things are pretty intuitive inside of the unity at
9
00:00:32,000 --> 00:00:33,024
Social breakdown
10
00:00:33,280 --> 00:00:35,328
The basics of each tab
11
00:00:35,584 --> 00:00:36,864
So this is the scene tab
12
00:00:37,376 --> 00:00:39,936
And this is basically the stage for your game
13
00:00:40,448 --> 00:00:41,216
This is where you're going to
14
00:00:41,472 --> 00:00:44,288
Layout various game objects that do differ
15
00:00:44,544 --> 00:00:46,592
Things moving around position things
16
00:00:47,104 --> 00:00:50,176
And then obviously you're going to have a camera that moves around
17
00:00:50,688 --> 00:00:51,968
As you play your game
18
00:00:52,480 --> 00:00:53,760
Sophie collapsar
19
00:00:54,016 --> 00:00:58,112
Sample seen here you can notice that we have a main camera on our stage
20
00:00:58,624 --> 00:01:00,416
We got to just select this camera
21
00:01:00,928 --> 00:01:04,256
And this is the only thing that's in our default scene
22
00:01:04,512 --> 00:01:05,280
That Unity
23
00:01:05,536 --> 00:01:06,560
Created for us
24
00:01:07,328 --> 00:01:08,608
So this is the scene tab
25
00:01:09,120 --> 00:01:10,912
And this is the hierarchy tab
26
00:01:11,168 --> 00:01:15,776
Which will show us all of the game objects inside of that individual scene
27
00:01:16,288 --> 00:01:16,800
So
28
00:01:17,056 --> 00:01:23,200
We created a new 3D object don't worry too much about what I'm doing here but if I have a cube that I just created inside
29
00:01:23,456 --> 00:01:24,480
Side of my sample scene
30
00:01:24,736 --> 00:01:25,504
You can see it
31
00:01:25,760 --> 00:01:28,320
Inside of the Seaview here I can move it around
32
00:01:28,576 --> 00:01:29,344
And will be
33
00:01:30,112 --> 00:01:33,440
Learning how to move game objects around in a future episode
34
00:01:33,952 --> 00:01:37,536
But for the purposes of this video I'm just going to move this around
35
00:01:37,792 --> 00:01:39,328
Maybe copy and paste it
36
00:01:40,096 --> 00:01:41,376
And put it over here
37
00:01:41,888 --> 00:01:43,168
You can see the cubes
38
00:01:43,936 --> 00:01:46,496
Are showing up inside of my hierarchy
39
00:01:47,264 --> 00:01:50,080
Which is again all of the game objects inside of my scene
40
00:01:50,848 --> 00:01:53,408
And I can also move them around in the scene tab
41
00:01:54,688 --> 00:01:55,968
So there's also
42
00:01:56,224 --> 00:01:58,784
The game tab which shows us what
43
00:01:59,040 --> 00:02:00,576
Actually going to see
44
00:02:00,832 --> 00:02:02,112
In our final product
45
00:02:02,624 --> 00:02:04,672
We're basically looking through the camera
46
00:02:05,696 --> 00:02:06,976
Cameras showing us
47
00:02:08,000 --> 00:02:10,304
Game objects that are in its viewport
48
00:02:11,584 --> 00:02:14,144
We also change the aspect ratio
49
00:02:14,400 --> 00:02:15,936
Of the game tab
50
00:02:16,192 --> 00:02:17,984
So we can get a five by four
51
00:02:19,008 --> 00:02:20,032
4 by 3
52
00:02:21,824 --> 00:02:22,336
Try to
53
00:02:22,848 --> 00:02:23,360
And
54
00:02:24,128 --> 00:02:24,640
16 x 9
55
00:02:25,664 --> 00:02:31,296
I'm going to stay in 16 by 9 right now and basically 16 by 9 is the industry-standard so
56
00:02:31,808 --> 00:02:32,832
No matter how
57
00:02:33,344 --> 00:02:37,696
Small I make this actual tab you'll see it scales down with that ass
58
00:02:37,952 --> 00:02:38,464
Like ratio
59
00:02:39,232 --> 00:02:43,072
No not actually changing the size of the viewport
60
00:02:43,584 --> 00:02:44,352
For our game
61
00:02:44,864 --> 00:02:48,192
Basically all we're doing is testing how this game is going to look
62
00:02:48,448 --> 00:02:50,496
At various aspect ratios
63
00:02:51,264 --> 00:02:55,616
Now if you wanted to you could create custom aspect ratio than I have those right here
64
00:02:56,640 --> 00:02:58,944
A 1920 x 1080 that I've created
65
00:02:59,712 --> 00:03:02,784
How to create a 3840 X 2160
66
00:03:03,808 --> 00:03:04,576
Which is the
67
00:03:04,832 --> 00:03:06,112
4K resolution
68
00:03:06,368 --> 00:03:07,648
You see on a lot of
69
00:03:07,904 --> 00:03:08,672
Higher-res
70
00:03:09,184 --> 00:03:09,696
Monitors
71
00:03:10,720 --> 00:03:13,024
If we wanted to we could click the plus icon here
72
00:03:13,536 --> 00:03:16,864
And just create one for yourself so I highly recommend you do this
73
00:03:17,376 --> 00:03:23,520
First will label it so I actually liked the label it what the actual pixel size is a 38 40 by 9
74
00:03:23,776 --> 00:03:25,824
1820 and you could even do a princesses here and type
75
00:03:26,080 --> 00:03:26,848
4K
76
00:03:27,616 --> 00:03:31,968
And then be sure you change the width and height of 3840 X 2160
77
00:03:32,992 --> 00:03:33,760
Funny musically code
78
00:03:35,040 --> 00:03:37,856
And you're also going to do that with 1920 x 1080 is
79
00:03:39,648 --> 00:03:42,208
Go ahead put cancel here because already have those made
80
00:03:42,464 --> 00:03:45,280
But we're going to work in 1920 by 1080
81
00:03:45,536 --> 00:03:46,048
Click on that
82
00:03:47,328 --> 00:03:52,192
Now the reason why I don't work in 3840 X 2160 when I'm actually making my game
83
00:03:52,448 --> 00:03:54,240
Is because the unity editor
84
00:03:54,752 --> 00:03:57,568
Had a lot of stuff going on under the hood
85
00:03:57,824 --> 00:04:00,640
As opposed to just a standalone build if your game
86
00:04:01,152 --> 00:04:03,712
If you're playing your game on Steam for example
87
00:04:04,224 --> 00:04:09,088
That's all the game has to do that's all you computer is really working on is playing the game
88
00:04:09,600 --> 00:04:12,672
Where is immunity than a lot of other stuff going on
89
00:04:12,928 --> 00:04:17,280
So your game might actually run a little bit slower inside of unity
90
00:04:18,303 --> 00:04:24,447
Believe it or not if you change the resolution to something small like 1920 x 1080 or even smaller like 7:25
91
00:04:25,215 --> 00:04:28,031
The game's frame rate is going to increase significantly
92
00:04:28,543 --> 00:04:29,823
Versus working inside of
93
00:04:30,079 --> 00:04:30,847
3840
94
00:04:31,103 --> 00:04:32,383
Play 2160 which is
95
00:04:32,639 --> 00:04:34,687
Very large resolution size
96
00:04:34,943 --> 00:04:36,991
So we're going to work with 1920 x 1080
97
00:04:38,527 --> 00:04:41,087
In the game you can actually zoom in if you wanted to
98
00:04:41,855 --> 00:04:43,391
And scale-up that size
99
00:04:43,903 --> 00:04:47,487
You're not actually changing the resolution you're just zooming in
100
00:04:47,999 --> 00:04:48,767
Maybe to see
101
00:04:49,023 --> 00:04:50,047
Various aspects
102
00:04:50,303 --> 00:04:51,071
Of your game
103
00:04:51,327 --> 00:04:53,119
Notice how we can see the pixelation here
104
00:04:53,631 --> 00:04:54,399
Has resumed in
105
00:04:57,727 --> 00:04:59,519
Forgive me at the scene view the game View
106
00:05:00,287 --> 00:05:03,103
And then hierarchy would shows us all the game objects
107
00:05:03,359 --> 00:05:04,639
In our scene
108
00:05:05,919 --> 00:05:07,967
Now there's also the project had down here
109
00:05:08,735 --> 00:05:09,503
Now currently
110
00:05:09,759 --> 00:05:12,319
I don't really like the way it looks and we'll talk about how to make it look
111
00:05:12,575 --> 00:05:15,391
A little bit prettier and a little bit more intuitive
112
00:05:15,903 --> 00:05:17,183
In the next episode
113
00:05:18,207 --> 00:05:21,023
But for now I just want explain the project tab
114
00:05:21,279 --> 00:05:24,095
This is essentially Windows Explorer
115
00:05:24,351 --> 00:05:25,375
Or if you're on a Mac
116
00:05:26,143 --> 00:05:27,423
Finder panel
117
00:05:27,935 --> 00:05:31,519
Basically what this is it includes all of the objects
118
00:05:31,775 --> 00:05:36,127
All of the Assets in your game and ask that can be sound effects
119
00:05:36,639 --> 00:05:37,407
Sprites
120
00:05:37,919 --> 00:05:43,039
3D models scripts there's a thousand thousands of types of
121
00:05:43,551 --> 00:05:45,599
Assets that you can put in your game
122
00:05:45,855 --> 00:05:47,647
And those are all in the project
123
00:05:48,671 --> 00:05:50,207
Now just for clarity
124
00:05:50,719 --> 00:05:51,999
The hierarchy tab here
125
00:05:52,255 --> 00:05:54,559
Is totally different than the project app
126
00:05:55,071 --> 00:05:59,167
The project tab again includes all of the Assets in your entire project
127
00:05:59,679 --> 00:06:04,287
Where is the hierarchy tab is just going to show you the objects in your actual scene
128
00:06:04,543 --> 00:06:07,103
So if we wanted to we could right click here and go to
129
00:06:08,895 --> 00:06:09,407
Scene
130
00:06:10,175 --> 00:06:12,479
I put a new thing called it main menu
131
00:06:14,015 --> 00:06:16,063
And we also create a new folder
132
00:06:16,319 --> 00:06:17,343
Maybe we could create
133
00:06:18,367 --> 00:06:19,391
A folder called
134
00:06:20,415 --> 00:06:21,695
Other scenes
135
00:06:21,951 --> 00:06:23,231
And we could even drag
136
00:06:24,255 --> 00:06:25,023
The main menu
137
00:06:25,279 --> 00:06:26,559
Two other scenes
138
00:06:28,095 --> 00:06:31,167
What's right-click on other scenes actually show this in Explorer
139
00:06:33,983 --> 00:06:36,287
So you noticed that it's pretty much identical
140
00:06:36,543 --> 00:06:37,823
To what we see here
141
00:06:38,591 --> 00:06:41,919
Except the layout is a little bit different and we can also see metafile
142
00:06:42,687 --> 00:06:48,063
You don't really want to be moving and deleting meta files you actually want Unity to do that for you
143
00:06:48,319 --> 00:06:51,135
So I highly recommend instead of dragging
144
00:06:51,391 --> 00:06:55,487
Let's say the sample seen into other scenes here if we wanted to do that
145
00:06:56,511 --> 00:06:58,815
I wouldn't recommend doing it inside of Windows Explorer
146
00:06:59,071 --> 00:07:00,095
I'd actually just
147
00:07:01,119 --> 00:07:02,399
Inside of the unity editor
148
00:07:02,911 --> 00:07:08,031
Dozen times you're going to want to move things around inside of Windows Explorer let's say you want to actually
149
00:07:08,543 --> 00:07:13,663
Maybe paste some files maybe some Sprites or some images or some sound effects
150
00:07:13,919 --> 00:07:17,759
Into a folder let's say we had a folder and we wanted to create one called
151
00:07:19,039 --> 00:07:19,807
Sounds
152
00:07:21,599 --> 00:07:22,111
Do you want to do
153
00:07:22,879 --> 00:07:27,487
Tasty sound effect inside of this sounds folder you could certainly do that and that's actually
154
00:07:27,743 --> 00:07:29,279
The best way to be
155
00:07:29,535 --> 00:07:32,607
Putting new files inside of your project
156
00:07:33,119 --> 00:07:36,191
But when you're done actually putting those files into the folder
157
00:07:36,703 --> 00:07:42,591
When you if you want to move them around I would highly recommend you move them around in the unity editor
158
00:07:42,847 --> 00:07:43,871
In the project
159
00:07:45,151 --> 00:07:47,711
If we had a sound effect inside of this folder
160
00:07:47,967 --> 00:07:51,039
You would just drag that sound effect into your sample scene
161
00:07:51,295 --> 00:07:53,855
Or let's say you had a model in this folder
162
00:07:54,111 --> 00:07:55,135
You can actually drag that
163
00:07:55,391 --> 00:07:58,207
Into the scene will do that in future episodes
164
00:07:58,463 --> 00:07:59,231
Of this tutorial
165
00:08:00,767 --> 00:08:03,839
And then finally there's the inspector tab here noticed that it
166
00:08:04,095 --> 00:08:07,167
Blank That's because we don't have any gameobject selected
167
00:08:07,679 --> 00:08:09,727
Let's head on over to our seeing here
168
00:08:10,495 --> 00:08:12,543
And select our main camera gameobject
169
00:08:13,567 --> 00:08:14,335
You noticed that
170
00:08:14,591 --> 00:08:16,639
Confusing stuff just appeared
171
00:08:17,151 --> 00:08:18,943
Don't worry it's actually not that confusing
172
00:08:19,455 --> 00:08:22,015
We have the transform component here
173
00:08:22,271 --> 00:08:24,575
We also have a camera component here
174
00:08:25,087 --> 00:08:29,695
And then we have an audio listener component which doesn't really have any field that you can adjust
175
00:08:30,463 --> 00:08:35,839
The transform field here includes various variables that you can change we can change the position of the
176
00:08:36,095 --> 00:08:39,167
X and Y and Z if we wanted to
177
00:08:39,423 --> 00:08:40,959
We can rotate the camera
178
00:08:41,215 --> 00:08:42,751
We can scale the camera
179
00:08:43,263 --> 00:08:44,543
There's also the camera
180
00:08:44,799 --> 00:08:46,079
Component here which includes
181
00:08:46,335 --> 00:08:48,895
Ton of things that you can adjust your camera
182
00:08:49,151 --> 00:08:53,247
Example to clear Flags the background color if we wanted let's make it a nice
183
00:08:53,759 --> 00:08:54,527
Pretty
184
00:08:55,551 --> 00:08:56,063
Gamedev
185
00:08:56,575 --> 00:08:57,855
Like a full-time Game Dev
186
00:08:58,111 --> 00:08:58,623
Pink
187
00:08:58,879 --> 00:09:00,927
We click on the game tab here you can see
188
00:09:01,183 --> 00:09:02,463
Now the background color of
189
00:09:02,719 --> 00:09:03,231
The cameras a little
190
00:09:04,511 --> 00:09:06,559
There's a ton of different things that you can adjust
191
00:09:07,327 --> 00:09:08,863
Inside of the camera component
192
00:09:09,887 --> 00:09:12,447
And these are all inside of the inspector
193
00:09:12,703 --> 00:09:15,519
You can spend a lot of time inside of the inspector
194
00:09:16,031 --> 00:09:18,591
For example if you clicked on the cube here you'll notice that there is
195
00:09:18,847 --> 00:09:21,407
A lot of different components that we can change
196
00:09:21,919 --> 00:09:24,223
That are totally different than what we saw on the camera
197
00:09:24,479 --> 00:09:27,295
For example we have a mesh filter here we have a mesh renderer
198
00:09:27,807 --> 00:09:31,391
We have a box collider and we'll get into what all of these things are
199
00:09:31,647 --> 00:09:32,671
In future episodes
200
00:09:33,183 --> 00:09:35,743
But just know that that's what the inspector tab is
201
00:09:35,999 --> 00:09:37,535
Inspector tab is actually
202
00:09:38,047 --> 00:09:39,327
What you're going to use
203
00:09:39,583 --> 00:09:41,631
Often to make this game a game
204
00:09:42,143 --> 00:09:46,239
If you want to transform a box you do it in the transform tab
205
00:09:46,495 --> 00:09:47,263
If we want to
206
00:09:47,519 --> 00:09:51,103
Maybe changed us the size of the Box collider itself
207
00:09:51,359 --> 00:09:56,479
Then you would do it here if you wanted to pass through various objects you would turn on is trigger
208
00:09:56,991 --> 00:09:59,295
Is a ton of different things you can adjust
209
00:09:59,551 --> 00:10:00,575
Per gameobject
210
00:10:01,087 --> 00:10:02,367
In fact I would argue
211
00:10:02,879 --> 00:10:04,159
Game object is nothing
212
00:10:04,671 --> 00:10:05,183
Without
213
00:10:05,439 --> 00:10:06,975
Various components attached
214
00:10:07,231 --> 00:10:07,743
To it
215
00:10:08,255 --> 00:10:09,279
And those are changed
216
00:10:09,535 --> 00:10:10,559
Any inspector tab
217
00:10:11,327 --> 00:10:13,887
Finally this is the console tab down here
218
00:10:14,655 --> 00:10:17,215
And there's nothing here but in play mode
219
00:10:17,471 --> 00:10:20,543
He will actually tell you if there is an error with your script
220
00:10:21,055 --> 00:10:22,079
And you can also
221
00:10:22,335 --> 00:10:22,847
Print
222
00:10:23,103 --> 00:10:24,383
Various statements
223
00:10:24,639 --> 00:10:26,687
And variables into this window
224
00:10:26,943 --> 00:10:31,295
The console window has nothing to do with what the end-user is going to see in your game
225
00:10:31,551 --> 00:10:34,879
Is everything to do with you getting information about your game
226
00:10:35,391 --> 00:10:39,743
Examples I wanted to know the size of this box as it's moving through our game
227
00:10:40,511 --> 00:10:43,583
I can have it show up inside of a console if we want
228
00:10:43,839 --> 00:10:44,607
I'll show you that
229
00:10:44,863 --> 00:10:45,887
When we learn how to spread
230
00:10:46,911 --> 00:10:50,239
Then finally guys there's this nice beautiful play button here
231
00:10:50,495 --> 00:10:51,007
The click on it
232
00:10:52,287 --> 00:10:53,567
Well it's going to play your game
233
00:10:54,079 --> 00:10:56,639
So this is basically what your game looks like in play mode
234
00:10:57,151 --> 00:10:59,967
So we don't have any scripts and nothing's really moving
235
00:11:00,223 --> 00:11:03,295
So it looks like the game is frozen but it's actually running currently
236
00:11:03,807 --> 00:11:05,087
And you can pause it
237
00:11:06,111 --> 00:11:07,135
You can even iterate it
238
00:11:07,903 --> 00:11:08,671
Per frame
239
00:11:10,463 --> 00:11:11,743
Or you can just get out of play
240
00:11:12,767 --> 00:11:13,535
Play button again
17750
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.