Unity3D-RPG Project Practice (1): Engine special directory

Source: Internet
Author: User

Preface Starting from March August, I made up my mind to officially start learning unit3d! Although I have written two generations of client game engines, more than 10 projects have been used, and the Unreal Engine has been used for several years, but I am still a newbie in mobile games. Unity3d is an engine that I like very much. At first glance, I can't help but wonder. This is not the engine I 've been trying to build: Integrated game development tools, the upper layer uses C # To develop game logic... It would be nice to support Lua again. :) Start to use a new engine. There are too many things to learn, so I plan to write this series of notes, record and share them, and ask unity3d experts for advice.
To use unity3d as a project, the first thing that bothers me is the directory structure of this project. There are two main aspects: 1. What are the special functions of the directory name; 2. I want to use SVN for project version management. How should unity be set? I checked some information and sorted the records as follows.
Unity3d special directory name
Unity reserves some directory names, which have special meanings. Important:
    • Resources
      All files in this directory will be packaged into the released version, and the program can access them through the file path. This is very useful. For example, a lot of planning and Editing data in RPG games can be saved here. You can use the unityengine. Resources. Load () method to load data. The related classes also include textasset.
      Detailed documentation: http://docs.unity3d.com/Manual/LoadingResourcesatRuntime.html
    • Editor 
      Here you can store some editor extension scripts. The scripts in this directory can use namespace unityeditor. For RPG projects, there are often hundreds of monsters to edit. Isn't it tiring to drag the editor to create a prefab? You can write a script that automatically generates the prefab file. After all resources are imported, the prefab file is automatically created and called during game operation.
    • Plugins
      Plug-ins are provided here. Many plug-ins need to be used in Unity development projects. Currently, I plan to introduce ngui. What are the other necessary ones? It is said that plug-in selection is also a pitfall ~
These directories also involve the script compilation sequence, as detailed in the manual: http://docs.unity3d.com/Manual/ScriptCompileOrderFolders.html There are other more comprehensive lists of special directory names, see wiki: http://wiki.unity3d.com/index.php/Special_Folder_Names_in_your_Assets_Folder

Well, the note on the special directory name of the engine is here. Let's take a look at the SVN version control issue. :)


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.