fixed jump
changed jump height value for sphere script, also just to check if the commit worked
This commit is contained in:
parent
70a791060f
commit
e6fa4a6a2c
|
@ -6,7 +6,7 @@ public class Sphere : CommonCollectibles
|
||||||
{
|
{
|
||||||
public override void Collect(GameObject gameObject)
|
public override void Collect(GameObject gameObject)
|
||||||
{
|
{
|
||||||
gameObject.GetComponent<StarterAssets.FirstPersonController>().MoveSpeed += 5.0f;
|
gameObject.GetComponent<StarterAssets.FirstPersonController>().MoveSpeed += 6.0f;
|
||||||
Destroy(this);
|
Destroy(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue