Exemple #1
0
    void Update()
    {
        ScoreText.text = Score.ToString();

        if (Player.IsPlaying())
        {
            //检查是否按了ESC
            ShowInGameMenuOnKeypress();


            ResetHasHitNoteOnStringIndexArray();

            UpdateNeckTextureOffset();
            UpdateNotes();

            UpdateGuiScore();
            UpdateGuiMultiplier();

            //StrikingEffect();
        }
    }