Exemplo n.º 1
0
 public static void RegisterSceneUndo(UnityObject target, string name)
 {
                 #if UNITY_3_0 || UNITY_4_0 || UNITY_4_0_1 || UNITY_4_1 || UNITY_4_2
     UnityUndo.RegisterSceneUndo(name);
                 #else
     UnityUndo.RegisterCompleteObjectUndo(target, name);
                 #endif
 }