示例#1
0
    void FixedUpdate()
    {
        if (tap)
        {
            soundManager.PlayTapClip();
            playerRigid.useGravity = true;
            Flap();
            tap = false;
            if (GameManager.Instance.IsStarted == true)
            {
                GameManager.Instance.IsStarted = false;
                cameraMove.isPlaying           = true;
                cameraMove.GoingForward();

                updateScore.isCountingScore = true;

                if (!GameManager.Instance.IsDouble)
                {
                    GameManager.Instance.IsSlowScore = true;
                }
                updateScore.IncreaseScore();
            }
        }
    }