EditorUtility.GetPrefabType 获取预置类型

static function GetPrefabType (target : Object) : PrefabType

Description描述

Given an object, returns whether it's a prefab or an instance of a prefab and what kind of prefab it is.

给定一个物体,返回是否她的预置或预置的实例和预置的什么种类。

See Also: The PrefabType enumeration for information on the possible return values.

参见:PrefabType枚举信息。

Page last updated: 2011-7-16