diff --git a/popcorn/Assets/MyGame/Scripts/CoinManager.cs b/popcorn/Assets/MyGame/Scripts/CoinManager.cs index db849432..46f564c3 100644 --- a/popcorn/Assets/MyGame/Scripts/CoinManager.cs +++ b/popcorn/Assets/MyGame/Scripts/CoinManager.cs @@ -44,11 +44,10 @@ public class CoinManager : SingletonMonoBehaviour { ownCoin += count; // 生成枚数決定 - var spawnCount = Mathf.Min(count, 7); // 生成ポジション決め、生成 - InstantiateEffeect(coinPrefab, spawnCount, Vector3.zero, coinIconTransform.position, () => + InstantiateEffeect(coinPrefab, count, Vector3.zero, coinIconTransform.position, () => { - coinCountText.CountUpAnimation(coinTextFormat, ownCoin, duration + spawnCount * 0.1f); + coinCountText.CountUpAnimation(coinTextFormat, ownCoin, duration + count * 0.1f); callback.Invoke(); }); }