Пример #1
0
 void Start()
 {
     uim = uiMObj.GetComponent<UIManager> ();
     bc = bmObj.GetComponent<BuildControls> ();
     dc = dmObj.GetComponent<DestroyControls> ();
     changeMode (mode);
 }
 void Start()
 {
     t = this.GetComponent<Text> ();
     vc = vcObj.GetComponent<VolumeControl> ();
     bc = bcObj.GetComponent<BuildControls> ();
 }
Пример #3
0
 void Start()
 {
     bc = bcObj.GetComponent<BuildControls> ();
     mode = bc.getMode ();
     toggleChildren ();
 }
Пример #4
0
 void Start()
 {
     bc = bcg.GetComponent<BuildControls> ();
 }