示例#1
0
        internal static void RevertPrefabObjectOverride(object userData)
        {
            Object obj = (Object)userData;

            PrefabUtility.RevertObjectOverride(obj, InteractionMode.UserAction);
            EditorUtility.ForceReloadInspectors();
        }