Пример #1
0
 public static void RegisterUndo(UnityObject[] targets, string name)
 {
                 #if UNITY_3_0 || UNITY_4_0 || UNITY_4_0_1 || UNITY_4_1 || UNITY_4_2
     UnityUndo.RegisterUndo(targets, name);
                 #else
     UnityUndo.RecordObjects(targets, name);
                 #endif
 }