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