// Start is called before the first frame update void Start() { motorwayControl = gameObject.GetComponent <MotorwayControl>(); motorwayParameters = gameObject.GetComponent <Parameters>(); startTime = Time.time; }
private void Start() { motorwayManager = GameObject.FindWithTag("MotorwayManager"); motorwayControl = motorwayManager.GetComponent <MotorwayControl>(); }