示例#1
0
    private void ShowSelect(int index)
    {
        for (int i = 0; i < mWrapContent.transform.childCount; i++)
        {
            Transform child = mWrapContent.transform.GetChild(i);
            child.Find("HighLight").gameObject.SetActive(false);
        }
        Transform trans = mWrapContent.FindItem(mCurAdventureIndex);

        if (trans != null)
        {
            trans.Find("HighLight").gameObject.SetActive(true);
        }
    }