首页 > 其他 > 详细

Resources

时间:2014-07-06 17:52:05      阅读:330      评论:0      收藏:0      [点我收藏+]

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!