码迷,mamicode.com
首页 > 其他好文 > 详细

Resources

时间:2014-07-06 17:51:47      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   strong   os   

Resources

  The Resources class allows you to find and access Objects including assets.

  Resouces类允许你寻找和访问Objects与Assets。

  In the editor, Resources.FindObjectsOfTypeAll can be used to locate assets and scene objects.
  在编辑里,Resources.FindObjecsOfTypeAll可以被用于定位assets与场景对象。
 
  All assets that are in a folder named "Resources" anywhere in the Assets folder can be accessed via the Resources.Load functions. Multiple "Resources" folders may exist and when loading objects each will be examined.
  所有的assets只要在一个在Assets目录或子/子子/...目录下且名字为"Resouces"的目录中,就可以通过Resouces.Load来访问。也就是多个Resouces目录可以并存,当加载对象时每一个Resouces目录都会被检查。
 

  bubuko.com,布布扣

 

参考:file://localhost/Applications/Unity/Unity.app/Contents/Documentation/Documentation/ScriptReference/Resources.html

Resources,布布扣,bubuko.com

Resources

标签:style   blog   http   color   strong   os   

原文地址:http://www.cnblogs.com/tekkaman/p/3825110.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!