Unity Special folder: Location cannot be placed casually

Source: Internet
Author: User

There are several folders:

Assets

folder for storing resources , includes a variety of materials . models, etc.

Editor

Script such as editor class

Editor Default Resources

Editor scripts can make use of asset files loaded On-demand using the? editorguiutility.load? function. This function would look for the asset files in a folder called? Editor Default Resourceswhich should be placed directly within the? Assets? folder.

Gizmos

Unity's "gizmos" Allow your to-add graphics to the scene view-to-help visualise design details that is otherwise Invisible. The? Gizmos.drawiconfunction places an icon in the scene to act as a marker for a special object or position. The image file used to draw this icon must is placed in a folder called? gizmos? In order to being located by the DrawIcon function.

Plugins

various plugins , include C + + The local plug-in , need to use

[DllImport ("Pluginname")]

Privatestaticexternfloat foopluginfunction ();

Resources

various Resources . Model . Presets , can be used resources.load () method to load these resources

Standard Assets and Pro standard Assets

When you import a standard asset package (menu:? Assets > Import Package) The Assets is placed in a folder called? Standard Assets? or? Pro Standard Assets, if the package was available only with a pro licence. As well as containing the assets, these folders also has an effect on script compilation order; See the page on? Special Folders and Script compilation Orderfor further details.

Streamingassets

The contents of this folder are copied intact to the target machine place . . usually put some video , or local plug-ins need to use the resources

Webplayertemplates

For Webplayer builds, Unity lets-supply a custom host page to deliver the player. The host page is supplied in the form of a? template? that can incorporate specific information from the project such as its name. These templates must is placed in a folder called? webplayertemplatesto being available to Unity; See the page aboutUsing Web Player Templates-further details. It is also worth noting, a scripts placed in the Webplayertemplates folder won't be ignored by the compiler. Placing script files here can be a useful temporary it to stop them from being compiled, say if they contain incomplete C Ode that'll prevent the game running.

Unity Special folder: Location cannot be placed casually

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.