コメント追加/不要処理削除

This commit is contained in:
kimura 2021-07-13 09:12:09 +09:00
parent f20597e9e7
commit 559feb90d2
1 changed files with 1 additions and 5 deletions

View File

@ -105,17 +105,13 @@ public class PopcornGameManager : MonoBehaviour
compositeDisposable.Clear(); compositeDisposable.Clear();
cornManager.Result.SkipLatestValueOnSubscribe() cornManager.Result.SkipLatestValueOnSubscribe()
.FirstOrDefault() .FirstOrDefault()
.DelayFrame(1) .DelayFrame(1) // Disposeタイミング調整
.Subscribe(x => .Subscribe(x =>
{ {
state.Value = GameState.Result; state.Value = GameState.Result;
thermalControl.StopMeter(); thermalControl.StopMeter();
characterFlower.gameObject.SetActive(false); characterFlower.gameObject.SetActive(false);
characterSweat.gameObject.SetActive(false); characterSweat.gameObject.SetActive(false);
this.CallWaitForSeconds(1f, () =>
{
});
// リザルト表示遅延 // リザルト表示遅延
Observable.Timer(TimeSpan.FromMilliseconds(1000)).Subscribe(a => Observable.Timer(TimeSpan.FromMilliseconds(1000)).Subscribe(a =>
{ {