Version: 2018.1

PrefabType

enumeration

Switch to Manual

Description

The type of a prefab object as returned by PrefabUtility.GetPrefabType.

Variables

NoneThe object is not a prefab nor an instance of a prefab.
PrefabThe object is a user created prefab asset.
ModelPrefabThe object is an imported 3D model asset.
PrefabInstanceThe object is an instance of a user created prefab.
ModelPrefabInstanceThe object is an instance of an imported 3D model.
MissingPrefabInstanceThe object was an instance of a prefab, but the original prefab could not be found.
DisconnectedPrefabInstanceThe object is an instance of a user created prefab, but the connection is broken.
DisconnectedModelPrefabInstanceThe object is an instance of an imported 3D model, but the connection is broken.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961