protected void Unload()
 {
     DestroyImmediate(gameObject);
     DestroyImmediate(this);
     MainRoot.DidDestroyPanel(this);
 }
Exemple #2
0
 public virtual void OnConfirmClick()
 {
     Unload();
     MainRoot.DidDestroyPanel(this);
 }