예제 #1
0
    // Use this for initialization
    void Start()
    {
        cd  = this.GetComponent <chatDecoder>();
        irc = this.GetComponent <TwitchIRC>();
        qm  = this.GetComponent <questionManager>();
        ui  = this.GetComponent <uiManager>();
        qm.loadNewQuestion();

        roundNumber = questionsPerRound;

        InvokeRepeating("tick", 5, 1);
    }
예제 #2
0
 //MonoBehaviour Events.
 void Start()
 {
     gameLogic = this.GetComponent <chatDecoder>();
 }