Esempio n. 1
0
 public void OpenGround()
 {
     GroundEditForm = new GroundEditForm();
     ViewModels.GroundEditViewModel vm = new ViewModels.GroundEditViewModel();
     GroundEditForm.DataContext = vm;
     vm.LoadFromCurrentGround();
     GroundEditForm.Show();
 }
Esempio n. 2
0
 private IEnumerator <YieldInstruction> resetEditors()
 {
     GroundEditForm = null;
     MapEditForm    = null;
     yield return(CoroutineManager.Instance.StartCoroutine(GameManager.Instance.RestartToTitle()));
 }