public override void Confirm()
 {
     ConfirmInteraction?.Invoke();
     if (m_Confirmation != null)
     {
         m_Confirmation.Confirmed = true;
     }
     FinishInteraction?.Invoke();
     OnClose?.Invoke();
 }
 public virtual void Cancel()
 {
     ConfirmInteraction?.Invoke();
     if (m_Confirmation != null)
     {
         m_Confirmation.Confirmed = false;
     }
     FinishInteraction?.Invoke();
     OnClose?.Invoke();
 }
Exemplo n.º 3
0
 public virtual void Confirm()
 {
     ConfirmInteraction?.Invoke();
     FinishInteraction?.Invoke();
     OnClose?.Invoke();
 }