Esempio n. 1
0
 void Start()
 {
     panelcon     = GameObject.FindGameObjectWithTag("PCon");
     currectcolor = panelcon.GetComponent <PanelController2> ();
     currectcolor.InitCurrectFlag();
     currectcolor.SetCurrectFlag();
 }
Esempio n. 2
0
 void Start()
 {
     panelcon   = GameObject.FindGameObjectWithTag("PCon");
     countcon   = GameObject.FindGameObjectWithTag("Count");
     FlagChange = panelcon.GetComponent <PanelController2> ();
     FlagChange.InitFlag();
     FlagChange.SetPanelFlag();
     decrese = countcon.GetComponent <Count2> ();
 }