Version: 2022.2
언어: 한국어

PrefabOverridesOptions

enumeration

매뉴얼로 전환

설명

Flags that can be used to control which overrides shoud be kept or cleared when using ReplacePrefabAssetOfPrefabInstance.

변수

KeepAllPossibleOverridesKeep all possible overrides (default value).
ClearNonDefaultPropertyOverridesClear any non-default property overrides from the Prefab instance.
ClearAddedComponentsClear any added Component overrides from the Prefab instance.
ClearRemovedComponentsClear any removed Component overrides from the Prefab instance.
ClearAddedGameObjectsClear any added GameObject overrides from the Prefab instance.
ClearRemovedGameObjectsClear any removed GameObject overrides from the Prefab instance.
ClearAllOverridesExceptPropertyOverridesClear all added and removed GameObjects and Components but keep all possible property overrides.
ClearAllNonDefaultOverridesClear any non-default property overrides from the Prefab instance.