private void OnDestroy() { Destroy(GridRenderCtrl_); GridRenderCtrl_ = null; DeployBoundaryDisplayer.EnableVectorCanvas(false); DeployUnitMenu.DestroyCurrent(); }
public static void DestroyCurrent() { if (Instance_) { Destroy(Instance_.gameObject); Instance_ = null; } }