コーンばらつき調整
This commit is contained in:
parent
a9f1d3e530
commit
11ff3aae41
|
|
@ -168,7 +168,7 @@ public class Corn : MonoBehaviour
|
||||||
|
|
||||||
public void SetCornProperty(float popTime, float burntDuration, float spillSpeed, float popSpeed)
|
public void SetCornProperty(float popTime, float burntDuration, float spillSpeed, float popSpeed)
|
||||||
{
|
{
|
||||||
cornPopTime = popTime + Random.Range(0, 2f);
|
cornPopTime = popTime + Random.Range(0, 5f);
|
||||||
cornBurntTime = cornPopTime + burntDuration + Random.Range(0, 1f);
|
cornBurntTime = cornPopTime + burntDuration + Random.Range(0, 1f);
|
||||||
cornSpillSpeed = spillSpeed;
|
cornSpillSpeed = spillSpeed;
|
||||||
cornPopSpeed = popSpeed;
|
cornPopSpeed = popSpeed;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue