zoukankan      html  css  js  c++  java
  • Resources

    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目录都会被检查。
     

      

     

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

  • 相关阅读:
    sqlsever中生成GUID的方法
    部署项目到服务器
    读后感
    第二次作业
    课堂作业
    第一次作业 开发环境配置介绍
    第二次结对作业
    代码审查
    最大连续子数组和
    单元测试
  • 原文地址:https://www.cnblogs.com/tekkaman/p/3825110.html
Copyright © 2011-2022 走看看