トッピング時間調整
This commit is contained in:
parent
4c3b12746d
commit
a628b190b4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue