Beispiel #1
0
 void Start()
 {
     timer = GameObject.Find("Timer").GetComponent <TimerContoller>();
     timer.timerIsRunning = true;
     valueWireHard        = GameObject.Find("Wire").GetComponent <RandomValueWireHard>();
     button = GameObject.Find("Button").GetComponent <ButtonControllerHard>();
 }
 // Start is called before the first frame update
 void Start()
 {
     wireHard = GameObject.Find("Wire").GetComponent <RandomValueWireHard>();
     txt1     = GameObject.Find("Text").GetComponent <Text>();
     txt2     = GameObject.Find("Text2").GetComponent <Text>();
 }