sounds!
This commit is contained in:
@@ -18,6 +18,7 @@ public class PlayerBehavior : MonoBehaviour
|
||||
bool unlockedTambourine;
|
||||
|
||||
[Header("Clarinet:")]
|
||||
[SerializeField] AudioSource clarinetAudio;
|
||||
bool unlockedClarinet;
|
||||
// things for dash
|
||||
private bool isDash = false;
|
||||
@@ -107,6 +108,7 @@ public class PlayerBehavior : MonoBehaviour
|
||||
this.gameUI.ToggleClarinet(false);
|
||||
playerInput.DeactivateInput();
|
||||
currentDash = 0.0f;
|
||||
clarinetAudio.Play();
|
||||
}
|
||||
|
||||
if (!playerController.IsGrounded() && isDash && (currentDash < dashTime)) {
|
||||
|
||||
Reference in New Issue
Block a user