12345678910111213141516171819202122232425262728293031323334353637 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class MainLeftManager : MonoBehaviour
- {
- public static MainLeftManager Instance;
- public Color cnom;
- public Color cchoose;
- // public List<GameObject> list;
- private void Awake()
- {
- Instance = this;
- }
- IEnumerator Start()
- {
- yield return new WaitForSeconds(1f);
- /*
- list = new List<GameObject>();
- int ct = this.transform.childCount;
- for (int i = 0; i < ct; i++)
- {
- list.Add(this.transform.GetChild(i).gameObject);
- list[i].GetComponent<RawImage>().color = cnom;
- }
- list[0].GetComponent<RawImage>().color = cchoose;
- list[0].GetComponent<MainLeftCaiDanItem>().Choose(true);*/
- }
- public void choose(string index)
- {
- }
- }
|