public void Destroy() { while (vUIElements.Count > 0) { RemoveUIElement(vUIElements[0], true); } RootGameObject.SetParent(null); RootGameObject.Destroy(); }
public override void Disconnect() { if (circle_indicator != null) { circle_indicator.Destroy(); } if (snap_indicator != null) { circle_indicator.Destroy(); } RootGameObject.Destroy(); }
public override void Disconnect() { RootGameObject.Destroy(); }