AssetMoveResult 资源移动结果
Enumeration
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。
Values值
-
Tells the internal implementation that the asset was not moved physically on disk by the script
告诉Unity内部执行,该资源不能通过脚本在磁盘物理移动,对于内部执行来移动资源是安全的。 -
Tells the internal implementation that the script could not move the assets, and Unity should not attempt to move the asset
告诉内部执行脚本不能移动该资源,并且Unity不会试图移动该资源,也不应该Unity更新其在磁盘上资源选项的内部表示。 -
Tells the internal implementation that the script moved the asset physically on disk. The internal implementation will
告诉内部执行脚本在磁盘物理移动资源。内部执行将不尝试子磁盘移动资源,但将在内部数据库保持一致性移动。
最后修改:2011年9月29日 Thursday 13:57