Пример #1
0
    private IEnumerator GameLoop()
    {
        ResetCakeAndTools();
        DisableControls();
        CameraRigControl.Init(CameraStartPoint);

        CanvasControl.RoundEnding();

        yield return(_StartWait);

        yield return(StartCoroutine(RoundStarting()));

        yield return(StartCoroutine(RoundPlaying()));

        yield return(StartCoroutine(RoundEnding()));

        // 無限にゲームはループする
        StartCoroutine(GameLoop());
    }