Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PrefabUnpackMode

Enum used to determine how a Prefab should be unpacked.
Read time 1 minuteLast updated 6 days ago

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.