1 00:00:06,240 --> 00:00:12,720 ‫In some cases, you might get to a point where you have many, many different objects in your game and 2 00:00:12,720 --> 00:00:16,320 ‫then you will have many different objects in your hierarchy as well. 3 00:00:16,320 --> 00:00:22,080 ‫So you will see that there is a full hierarchy of hundreds and thousands of objects, sometimes based 4 00:00:22,080 --> 00:00:23,850 ‫on how many objects are created. 5 00:00:23,850 --> 00:00:29,190 ‫For example, programmatically, let's say you create bullets, then you will have many different bullets 6 00:00:29,190 --> 00:00:30,170 ‫in your game. 7 00:00:30,180 --> 00:00:34,530 ‫You shoot bullets, your enemies should bullet, everyone should bullet, and there are bullets everywhere. 8 00:00:34,530 --> 00:00:38,100 ‫And then you'll have your whole hierarchy full with bullets. 9 00:00:38,100 --> 00:00:41,700 ‫You will not be able to see all the other important game objects anymore. 10 00:00:41,730 --> 00:00:45,930 ‫So how you can solve that is very easy by creating folders. 11 00:00:45,930 --> 00:00:49,530 ‫And I created a game object in one of the last videos. 12 00:00:49,530 --> 00:00:52,620 ‫I'm going to delete that again because I'm going to create a new one. 13 00:00:52,620 --> 00:00:59,640 ‫So let's create an empty game object and that one has a position at somewhere. 14 00:00:59,670 --> 00:01:02,400 ‫What always makes sense is to reset that component. 15 00:01:02,400 --> 00:01:04,380 ‫So reset the transform component. 16 00:01:04,380 --> 00:01:12,120 ‫So now our game object is at the center point of 000, and now we can use that one as a folder. 17 00:01:12,420 --> 00:01:16,470 ‫So let's rename that to, let's say bullets. 18 00:01:17,040 --> 00:01:20,340 ‫And now we could have all of our bullets in that folder. 19 00:01:20,340 --> 00:01:28,110 ‫Or in our case, what would make more sense is our cubes could be our dominos dominoes. 20 00:01:28,470 --> 00:01:34,220 ‫Now we could drag all of our dominoes inside of that Dominos folder. 21 00:01:34,230 --> 00:01:36,300 ‫So that one is called Cube currently. 22 00:01:36,300 --> 00:01:39,810 ‫So let's call that domino and let's apply that. 23 00:01:40,170 --> 00:01:46,800 ‫And now if we duplicate it, as you can see, it will always be within the dominoes folder and I can 24 00:01:46,800 --> 00:01:55,530 ‫simply close the folder and it will only be the folder here that is in the top hierarchy within our 25 00:01:55,530 --> 00:01:56,490 ‫hierarchy view. 26 00:01:56,520 --> 00:02:01,940 ‫And that in the end will make it much easier to find the game objects that we need. 27 00:02:01,950 --> 00:02:05,160 ‫So whenever it makes sense to create folders, go ahead. 28 00:02:05,280 --> 00:02:06,060 ‫It makes sense. 29 00:02:06,060 --> 00:02:12,210 ‫For example, if you have the same object multiple times or multiple instances of a prefab, or if you 30 00:02:12,210 --> 00:02:18,510 ‫have a terrain, if you want to have a specific map or something, it would make sense to put that into 31 00:02:18,510 --> 00:02:19,260 ‫your folder. 32 00:02:19,260 --> 00:02:23,790 ‫So all those kind of things are perfect examples for folders. 33 00:02:23,880 --> 00:02:25,020 ‫So don't forget that. 34 00:02:25,020 --> 00:02:25,920 ‫Keep that in mind. 35 00:02:25,920 --> 00:02:28,020 ‫We will use folders in this course. 36 00:02:28,200 --> 00:02:28,560 ‫All right. 37 00:02:28,560 --> 00:02:29,850 ‫So see you in the next video.