//遍历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]; }
void Start() { tempStruct = gostructs[0]; introduceLabel.text = strArr[0]; }