void OnDestroy() { if (mCurSelect == this) { mCurSelect = null; } }
void Select() { if (mCurSelect != null) { mCurSelect.Unselect(); } mCurSelect = this; if (selectGO) { selectGO.SetActive(true); } }