What file paths are included after the Unity project is created ?, Unity Project

Source: Internet
Author: User

What file paths are included after the Unity project is created ?, Unity Project

After creating a project
You will find that four different directories-Assets, Library, ProjectSettings, and Temp and several script-Related Files


Assets Directory:
It mainly involves all C # files and any other game objects, such as 3D models, 2D textures, and sounds somewhere in this directory. If the file is not in this directory, your game cannot access it.

When a project is larger, a good idea is to create sub-directories in an organized manner. These different file organizations depend on you, but in most cases, different types are in different directories.

Figure:


You may tend to put all assets and resources together in one place. For example, a hero may have a combination of sounds, models, textures, and scripts in a directory. This makes it harder to share things. A weapon or sound effect may need to be shared by multiple roles. Therefore, it is more meaningful to assume that each resource can be shared.

This assumption is the same as your code. It seems that every asset in the game is shared, and you should write the code. If you can make a little piece of software that allows a zombie to walk in a town looking for fresh brains, you should be able to make toaster do the same and reuse the same code.

To make it easier to find assets of a specific type, the search is highlighted in the Project panel.

Figure:

All scripts selected in the project display all assets of the script on the right side of the Panel.

Library Directory:

Under the Assets Directory of the file browser on the computer is the Library directory. This property contains the reference relationship between unity3D and the logic of Using tie assets together in scenes. The editor preferences, platform settings, and many other settings required by the game engine are also placed here. It is rare for a user to make any changes here, so it is best to avoid messing around with the contents of this directory.


Project Settings Directory:
When any asset is imported to Unity3D, it goes through a filter and setup. In most cases, when using 3D models and textures, They are pre-prepared for the game and must be taken somewhere. Unity3D will execute all of this automatically. Even before importing a box mesh from a 3D content creation tool, you can put it in an Unity3D scenario.

Figure:


When importing a model, you can set the proportional factor, optimization, and many other aspects. All these settings are recorded in the ProjectSettings directory. If you are a 3D artist, you may know a little about what the above settings mean.


Temp Directory:

Data caches writes temporary files and maintenance related to other operating systems to the Temp directory. Unity3D is a complex system consisting of many different components. Everything is fine, and there is a lot of temporary work to flow together.

Between the Library, ProjectSettings, and Temp directories, we have a lot of Unity3D to generate additional things about ourselves. This is not like many other programming environments. Cache files, debugging files, and intermediate resources tend to pile up in even the simplest programming project.

We are concerned with asset directories, so we will stick to this place.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.