sippy-thinks
e6fa4a6a2c
changed jump height value for sphere script, also just to check if the commit worked
13 lines
306 B
C#
13 lines
306 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Sphere : CommonCollectibles
|
|
{
|
|
public override void Collect(GameObject gameObject)
|
|
{
|
|
gameObject.GetComponent<StarterAssets.FirstPersonController>().MoveSpeed += 6.0f;
|
|
Destroy(this);
|
|
}
|
|
}
|