Version: 2022.2

PrefabOverridesOptions.ClearAllOverridesExceptPropertyOverrides

切换到手册

描述

Clear all added and removed GameObjects and Components but keep all possible property overrides.