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