文档

Unity Engine

Unity Engine

PrefabUnpackMode

Enum used to determine how a Prefab should be unpacked.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public enum PrefabUnpackMode

Remarks

Additional Resources: PrefabUtility.UnpackPrefabInstance.

Fields

Value

Description

CompletelyUse this to strip away all Prefab information from a Prefab instance.
OutermostRootUse this mode to only unpack the outermost layer of a Prefab.