public virtual void Pop(bool destroy) { if (owningStack.Pop(this)) { owningStack = null; } if (destroy) { Destroy(gameObject); } }