Version: 2023.2

PrefabUtility.prefabInstanceReverting

切换到手册

参数

value Instance root GameObject.

描述

Unity calls this method automatically before a Prefab instance is reverted.

Any revert operation, whether full or partial, will cause this event to be raised.