Ejemplo n.º 1
0
    private IEnumerator RoundStarting()
    {
        Debug.Log("RoundStarting");
        ResetCakeAndTools();
        DisableControls();

        CanvasControl.RoundStart();

        float currentTime = 0;

        while (currentTime <= 1)
        {
            currentTime += Time.deltaTime * CameraMoveSpeed;
            CameraRigControl.Move(CameraPlayPoint, currentTime);
            yield return(new WaitForEndOfFrame());
        }

        CanvasControl.MessageText.text = "始め!"; //TODO: もっとマシな開始メッセージ

        yield return(_StartWait);
    }