What is the purpose of the Assets directory?

2

I'm starting to learn about Unity, and in my first project I had a question about the Assets directory. It contains some files that are scripts in C # of the game, and other files of extension *.asset and *.meta , there are other directories and other types of files as well.

So, I wonder what the purpose of the Assets directory is for projects made with Unity?

    
asked by anonymous 10.02.2018 / 23:59

2 answers

1

It stores everything you want to put inside the game, like: I downloaded a 3D house for my game, so to make unity recognize this object, you have to put it inside that folder and everything you create within unity , as well as scripts and others, it's all within that folder.

    
11.02.2018 / 00:32
1

The Bits of Bytes answer is correct. Just a few additional information to stay clearer:

You can imagine the Assets folder as the content of your game that will be in the HD, available to be accessed during the game, while what is in your current scene is what is in RAM. So, your game may have a few gigabytes in its final size but your scenes will only bring the objects that are present in it to RAM.

The Assets folder you see with Unity open is the same as the one in the project, seen in explorer. However, within Unity, files such as .meta are hidden. These files are used for internal control of a particular asset, such as where it is being used, its properties etc.

    
22.02.2018 / 21:57