Example #1
0
        public virtual void Close(bool destroy = false)
        {
            Hide();

            if (destroy)
            {
                ParentPage.RemoveNodes(new List <Node>()
                {
                    this
                });
                Destroy(this.gameObject);
            }
        }