Пример #1
0
 public void OpenMap()
 {
     MapEditForm = new MapEditForm();
     ViewModels.MapEditViewModel vm = new ViewModels.MapEditViewModel();
     MapEditForm.DataContext = vm;
     vm.LoadFromCurrentMap();
     MapEditForm.Show();
 }
Пример #2
0
 private IEnumerator <YieldInstruction> resetEditors()
 {
     GroundEditForm = null;
     MapEditForm    = null;
     yield return(CoroutineManager.Instance.StartCoroutine(GameManager.Instance.RestartToTitle()));
 }