예제 #1
0
 void OnDestroy()
 {
     if (mCurSelect == this)
     {
         mCurSelect = null;
     }
 }
예제 #2
0
    void Select()
    {
        if (mCurSelect != null)
        {
            mCurSelect.Unselect();
        }

        mCurSelect = this;

        if (selectGO)
        {
            selectGO.SetActive(true);
        }
    }