コード例 #1
0
        // Update is called once per frame
        void Update()
        {
            //gl.Test(40);
            gl.Update();

            if (dialogue == null && currentDialogue < dialogues.Length)
            {
                dialogue = new Dialogue(dialogues[currentDialogue], GameObject.Find("EffectsCamera").GetComponent <CRTScreen>(), GetComponent <Camera>());
            }


            if (dialogue != null)
            {
                dialogue.Update();
                if (dialogue.isDone)
                {
                    dialogue           = null;
                    GameSettings.state = GameSettings.GameState.Game;
                    currentDialogue++;
                }
            }
        }
コード例 #2
0
 // Update is called once per frame
 void Update()
 {
     gl.Test(40);
     gl.Update();
 }