// Use this for initialization void Start() { body = transform.GetComponentInChildren<CarPhysicsController>(); nodeToFollow = transform.GetComponentInChildren<FollowPathV2>(); }
private void StartSound() { m_CarController = GetComponent<CarPhysicsController>(); m_HighAccel = SetUpEngineAudioSource(AccelClip); m_StartedSound = true; }
private void StartSound() { m_CarController = GetComponent <CarPhysicsController>(); m_HighAccel = SetUpEngineAudioSource(AccelClip); m_StartedSound = true; }
// Use this for initialization void Start() { body = transform.GetComponentInChildren <CarPhysicsController>(); nodeToFollow = transform.GetComponentInChildren <FollowPathV2>(); }