//private float yVelocity ; // Engine public void Start() { player = transform.root.GetComponent<Player>(); gamemode = transform.root.GetComponent<TimedRace>(); }
void Start() { player = GetComponent<Player>(); gamemode = GetComponent<TimedRace>(); }