public virtual void Close(bool destroy = false) { Hide(); if (destroy) { ParentPage.RemoveNodes(new List <Node>() { this }); Destroy(this.gameObject); } }
public virtual void Close(bool destroy = false) { Hide(); if (destroy) { ParentPage.RemoveNodes(new List <Node>() { this }); Destroy(this.gameObject); } }