PrefabType 预置类型
Enumeration
The type of a prefab object as returned by EditorUtility.GetPrefabType.
预置物体的类型,由EditorUtility.GetPrefabType返回。
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值
-
The object is not a prefab nor an instance of a prefab.
物体不是一个预制,也不是一个预制的实例。 -
The object is a user created prefab asset.
物体是用户创建的预置资源。 -
The object is an imported 3D model asset.
物体是一个导入到3D模型资源。 -
The object is an instance of a user created prefab.
物体是一个用户创建的预置的实例。 -
The object is an instance of an imported 3D model.
物体是一个导入3D模型预置的实例。 -
The object was an instance of a prefab, but the original prefab could not be found.
物体是一个预置的实例,但是源预置没有发现。 -
The object is an instance of a user created prefab, but the connection is broken.
物体是用户创建的预置的实例,但连接断开。 -
The object is an instance of an imported 3D model, but the connection is broken.
物体是一个导入3D模型的实例,但连接断开。
最后修改:2011年7月19日 Tuesday 13:18