From a628b190b4b5499fca1c8eb61eb2cd5b231aed45 Mon Sep 17 00:00:00 2001 From: kimura Date: Thu, 2 Jun 2022 19:35:50 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=88=E3=83=83=E3=83=94=E3=83=B3=E3=82=B0?= =?UTF-8?q?=E6=99=82=E9=96=93=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popcorn/Assets/MyGame/Scenes/Cooking/Scripts/Corn.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/popcorn/Assets/MyGame/Scenes/Cooking/Scripts/Corn.cs b/popcorn/Assets/MyGame/Scenes/Cooking/Scripts/Corn.cs index 1c5b9577..b2f89abc 100644 --- a/popcorn/Assets/MyGame/Scenes/Cooking/Scripts/Corn.cs +++ b/popcorn/Assets/MyGame/Scenes/Cooking/Scripts/Corn.cs @@ -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().sprite = toppingSprite; }).AddTo(this);