// Use this for initialization void Awake () { source = GetComponent<AudioSource>(); racerAnimator = GetComponent<Animator>(); hash = GameObject.FindGameObjectWithTag("GameController").GetComponent<MCHashIDs>(); raceStart = false; acceleration = Random.Range(0.01f, 0.03f); Debug.Log(acceleration); }
// Use this for initialization void Awake() { source = GetComponent <AudioSource>(); racerAnimator = GetComponent <Animator>(); hash = GameObject.FindGameObjectWithTag("GameController").GetComponent <MCHashIDs>(); raceStart = false; acceleration = Random.Range(0.01f, 0.03f); Debug.Log(acceleration); }