Esempio n. 1
0
 void Awake()
 {
     tech      = FindObjectOfType <Scr_Tech>();
     num       = FindObjectOfType <Scr_Num>();
     events    = FindObjectOfType <Scr_Event>();
     time      = FindObjectOfType <Scr_TimeControl>();
     provinces = FindObjectOfType <Scr_Color>();
 }
Esempio n. 2
0
 void Awake()
 {
     time        = FindObjectOfType <Scr_TimeControl>();
     num         = FindObjectOfType <Scr_Num>();
     news        = FindObjectOfType <Scr_News>();
     LoadControl = FindObjectOfType <Scr_Load>();
     EventGroup.SetActive(false);
     CG.SetActive(false);
 }
Esempio n. 3
0
 void Start()
 {
     Time      = FindObjectOfType <Scr_TimeControl>();
     Provinces = FindObjectOfType <Scr_Color>();
     Events    = FindObjectOfType <Scr_Event>();
     Num       = FindObjectOfType <Scr_Num>();
     Tech      = FindObjectOfType <Scr_Tech>();
     News      = FindObjectOfType <Scr_News>();
     Statistic = FindObjectOfType <Scr_Statistic>();
     BlackG.SetActive(false);
 }
Esempio n. 4
0
 void Awake()
 {
     Value      = FindObjectOfType <Scr_Num>();
     Events     = FindObjectOfType <Scr_Event>();
     TechIndex  = -1;
     TextUpdate = true;
     canUpgrade = false;
     for (int i = 0; i < 4; i++)
     {
         Label.Add("");
     }
 }
Esempio n. 5
0
 void Awake()
 {
     Tech   = FindObjectOfType <Scr_Tech>();
     Value  = FindObjectOfType <Scr_Num>();
     isLock = true;
 }