Version: 2017.3
public static PrefabType GetPrefabType (Object target);

描述

给定一个对象,返回其预制件类型(如果不是预制件,则返回 None)。

另请参阅:PrefabType 枚举,以了解可能的返回值。