// 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>();
 }