public void OnDeleteConfirm()
 {
     //Handler.Instance.PhoneData.RemoveContact(contact);
     ContactManager.RemoveContact(contact);
     PhoneBook.Instance.CurrentState = ScreenState.MainMenu;
     confirmDeleteWindow.HideObject();
     EnableDiableButtons(true);
 }
Exemplo n.º 2
0
 private void Update()
 {
     if (Input.GetKeyDown(KeyCode.Escape))
     {
         if (lastMover != null)
         {
             lastMover.HideObject();
         }
         EnableDisableButtons(true);
         warningWindow.HideObject();
         UpdateScreen();
     }
 }