Пример #1
0
 protected void Unload()
 {
     DestroyImmediate(gameObject);
     DestroyImmediate(this);
     MainRoot.DidDestroyPanel(this);
 }
Пример #2
0
 public virtual void OnConfirmClick()
 {
     Unload();
     MainRoot.DidDestroyPanel(this);
 }