void Update() { float hInput = Input.GetAxis("Horizontal"); float vInput = Input.GetAxis("Vertical"); var angH = Input.GetAxis("RightH"); var angV = Input.GetAxis("RightV"); if (angH > 0.5f) { this.rotation += 3; } else if (angH < -0.5f) { this.rotation -= 3; } if (this.Speed > 0 && _drivin != true) { FSoundManager.PlayMusic("loop_1", 0.2f); _drivin = true; Debug.Log("YEEEHAW"); } else if (this.Speed == 0 && _drivin == true) { FSoundManager.PlayMusic("loop_0"); _drivin = false; Debug.Log("naw"); } Move(0, vInput); if (Input.GetKeyUp(KeyCode.Space) && _honkin == false) { CoroutineRunner.StartFutileCoroutine(Honk()); } }