トッピング時間調整

This commit is contained in:
kimura 2022-06-02 19:35:50 +09:00
parent 4c3b12746d
commit a628b190b4
1 changed files with 2 additions and 1 deletions

View File

@ -205,7 +205,8 @@ public class Corn : MonoBehaviour
break;
case CornCondition.Simple:
topping = true;
toppingDisposable = Observable.Timer(TimeSpan.FromSeconds(cornPopTime / 15)).Subscribe(_ =>
// いい感じにトッピングされるようにcornPopTimeを利用
toppingDisposable = Observable.Timer(TimeSpan.FromSeconds(cornPopTime / 6)).Subscribe(_ =>
{
cornSkin.GetComponent<SpriteRenderer>().sprite = toppingSprite;
}).AddTo(this);