mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-13 04:45:15 -05:00
aaaaaaaaaaaaaaa
This commit is contained in:
@@ -44,6 +44,7 @@ public class NitroStateManager : NetworkBehaviour
|
||||
public float nitroAccBoost = .4f;
|
||||
|
||||
public AudioSource boostSound;
|
||||
public bool isNitroing = false;
|
||||
|
||||
void Awake(){
|
||||
|
||||
@@ -104,5 +105,6 @@ public class NitroStateManager : NetworkBehaviour
|
||||
currentState = state;
|
||||
animationManager.updateCurrentPriority();
|
||||
currentState.EnterState(this, previousState);
|
||||
boostSound.Play();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user