示例#1
0
 /// <summary>
 /// tab可点击开关
 /// </summary>
 /// <param name="index"></param>
 /// <param name="active"></param>
 public void SetTabEnable(bool active)
 {
     //m_focus.SetActiveNew(active);
     for (int i = 0; i < m_btnParent.childCount - 1; i++)
     {
         UIItem.SetGray(transform.gameObject, !active, active);
     }
 }