Example #1
0
 //遍历Go设置显影
 private void setGoSelecte(List <gostruct> _List, int _index)
 {
     for (int i = 0; i < _List.Count; i++)
     {
         if (i != _index)
         {
             _List[i].go.SetActive(false);
         }
         else
         {
             _List[i].go.SetActive(true);
         }
     }
     tempStruct = _List[_index];
 }
Example #2
0
 void Start()
 {
     tempStruct          = gostructs[0];
     introduceLabel.text = strArr[0];
 }