internal void SaveChanges() { var aiVersion = AIVersion.FromVersion(this.GetType().Assembly.GetName().Version); foreach (var ai in _ais) { ai.version = aiVersion.version; EditorUtility.SetDirty(ai); } AssetDatabase.SaveAssets(); }
private AIUI() { _aiVersion = AIVersion.FromVersion(this.GetType().Assembly.GetName().Version); _undoRedo = new UndoRedoManager(this); _selectedViews = new List <TopLevelView>(4); }