//int numScene;
 // Start is called before the first frame update
 void Start()
 {
     timer = GameObject.Find("Timer").GetComponent <TimerContoller>();
     timer.timerIsRunning = true;
     valueWire            = GameObject.Find("Wire").GetComponent <RandomValueWire>();
     button = GameObject.Find("Button").GetComponent <ButtonController>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     txt  = GetComponent <Text>();
     wire = GameObject.Find("Wire").GetComponent <RandomValueWire>();
 }