Saves all content (assets, etc.).
()
| 784 | /// Saves all content (assets, etc.). |
| 785 | /// </summary> |
| 786 | public void SaveContent() |
| 787 | { |
| 788 | for (int i = 0; i < Windows.Windows.Count; i++) |
| 789 | { |
| 790 | if (Windows.Windows[i] is AssetEditorWindow win) |
| 791 | { |
| 792 | win.Save(); |
| 793 | } |
| 794 | } |
| 795 | } |
| 796 | |
| 797 | /// <summary> |
| 798 | /// Creates the given project. Afterwards closes this project with running editor and opens the given project. |