Пример #1
0
    /// <summary>
    /// Actual start the game (call Ingame_Playing event).
    /// </summary>
    public void PlayingGame()
    {
        //Fire event
        IngameState = IngameState.Ingame_Playing;
        ingameState = IngameState.Ingame_Playing;

        //Other actions

        if (IsRevived)
        {
            ResumeBackgroundMusic(0.5f);
            previousStageControl.CreateBall();
            cameraRootControl.ResetRotationToDefault();
            cRCheckingGameOver = StartCoroutine(CRCheckingGameOver());
        }
        else
        {
            PlayBackgroundMusic(0.5f);
        }
    }