Пример #1
0
 public static void Execute(this MonoBehaviour monoBehaviour, Action action, string actionName)
 {
     Undo.RecordObject(monoBehaviour, actionName);
     monoBehaviour.Execute(action);
 }