//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>();
 }
 // Start is called before the first frame update
 void Start()
 {
     randomtoScene        = GameObject.Find("rndScene").GetComponent <RandomtoScene>();
     timer                = GameObject.Find("Timer").GetComponent <TimerContoller>();
     timer.timerIsRunning = false;
     canvas               = GameObject.Find("Canvas2");
 }
Exemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     timecount       = CountTime;
     finishtimecount = 1.5f;
     Obj_3.SetActive(false);
     _TimerContoller = Watch_hands.GetComponent <TimerContoller>();
 }
 // Start is called before the first frame update
 void Start()
 {
     line  = GameObject.Find("Line").GetComponent <lineMove>();
     timer = GameObject.Find("Timer").GetComponent <TimerContoller>();
     timer.timerIsRunning = true;
     corretSound          = GetComponent <AudioSource>();
     wrongSound           = GetComponent <AudioSource>();
 }
 // Start is called before the first frame update
 void Start()
 {
     waveSlider           = GameObject.Find("Slider").GetComponent <Slider>();
     waveAnsAnim          = GetComponent <Animator>();
     timer                = GameObject.Find("Timer").GetComponent <TimerContoller>();
     timer.timerIsRunning = true;
     corretSound          = GetComponent <AudioSource>();
     wrongSound           = GetComponent <AudioSource>();
 }
Exemplo n.º 6
0
 // Start is called before the first frame update
 void Start()
 {
     waveController       = GameObject.Find("wave").GetComponent <waveControllerHard>();
     waveAns              = GameObject.Find("Wave_Answer").GetComponent <waveAnsControllerHard>();
     waveAns2             = GameObject.Find("Wave_Answer2").GetComponent <waveAns2ControllerHard>();
     timer                = GameObject.Find("Timer").GetComponent <TimerContoller>();
     timer.timerIsRunning = true;
     corretSound          = GameObject.Find("CorretSound").GetComponent <AudioSource>();
     wrongSound           = GameObject.Find("WrongSound").GetComponent <AudioSource>();
 }
    // Start is called before the first frame update
    void Start()
    {
        blueButton   = GameObject.Find("Blue_Button").GetComponent <BlueButton>();
        greenButton  = GameObject.Find("Green_Button").GetComponent <GreenButton>();
        orangeButton = GameObject.Find("Orange_Button").GetComponent <OrangeButton>();
        timer        = GameObject.Find("Timer").GetComponent <TimerContoller>();
        blueSound    = false;
        greenSound   = false;
        orangeSound  = false;

        randomController();
    }
Exemplo n.º 8
0
    // Start is called before the first frame update
    void Start()
    {
        pausePanel = GameObject.Find("Panel");
        pausePanel.SetActive(false);
        timer = GameObject.Find("Timer").GetComponent <TimerContoller>();

        Count    = GameObject.Find("CountScene");
        nameObj  = GameObject.Find("NameObj");
        timerObj = GameObject.Find("Canvas2");
        song_1   = GameObject.Find("song1");
        song_2   = GameObject.Find("song2");

        songs = GameObject.Find("song1").GetComponent <songsController>();
        song2 = GameObject.Find("song2").GetComponent <song2Controller>();
    }
    // Start is called before the first frame update
    void Start()
    {
        blueButton      = GameObject.Find("Blue_Button").GetComponent <BlueButton>();
        greenButton     = GameObject.Find("Green_Button").GetComponent <GreenButton>();
        orangeButton    = GameObject.Find("Orange_Button").GetComponent <OrangeButton>();
        lightBlueButton = GameObject.Find("LightBlue_Button").GetComponent <LightBlueButton>();
        whiteButton     = GameObject.Find("White_Button").GetComponent <WhiteButton>();
        pinkButton      = GameObject.Find("Pink_Button").GetComponent <PinkButton>();
        timer           = GameObject.Find("Timer").GetComponent <TimerContoller>();
        blueSound       = false;
        greenSound      = false;
        orangeSound     = false;
        lightblueSound  = false;
        whiteSound      = false;
        pinkSound       = false;

        randomController();
    }
Exemplo n.º 10
0
    // Start is called before the first frame update
    void Start()
    {
        timer                 = GameObject.Find("Timer").GetComponent <TimerContoller>();
        yellowWire            = GameObject.Find("Yellow_Wire").GetComponent <YellowWire>();
        blueWire              = GameObject.Find("Blue_Wire").GetComponent <BlueWire>();
        redWire               = GameObject.Find("Red_Wire").GetComponent <RedWire>();
        whiteWire             = GameObject.Find("White_Wire").GetComponent <WhiteWire>();
        countScene            = GameObject.Find("CountScene").GetComponent <CountScene>();
        randomSceneIngameHard = GameObject.Find("RndScene").GetComponent <RandomSceneIngameHard>();
        corretSound           = GameObject.Find("CorretSound").GetComponent <AudioSource>();
        wrongSound            = GameObject.Find("WrongSound").GetComponent <AudioSource>();


        yellowSound = false;
        blueSound   = false;
        redSound    = false;
        whiteSound  = false;
    }
Exemplo n.º 11
0
 // Start is called before the first frame update
 void Start()
 {
     song  = GetComponent <AudioSource>();
     timer = GameObject.Find("Timer").GetComponent <TimerContoller>();
 }
 void Start()
 {
     button = GameObject.Find("Button").GetComponent <ButtonControllerNormal>();
     timer  = GameObject.Find("Timer").GetComponent <TimerContoller>();
     timer.timerIsRunning = true;
 }