/// <summary> /// 準備コルーチン /// </summary> /// <returns></returns> private IEnumerator ReadyCoroutine() { Debug.Log("--- READY---"); //Readyタイマを動かして0になったらバトルへ timeManager.ReadyTime .FirstOrDefault(x => x == 0) .Delay(TimeSpan.FromSeconds(1)) .Subscribe(_ => CurrentState.Value = GameState.Battle) .AddTo(gameObject); yield return(null); timeManager.StartGameReadyCountDown(); }