mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-22 21:40:39 +00:00
Update InstrumentsManager.cs
This commit is contained in:
parent
3166434aac
commit
ee12bfebbc
@ -19,11 +19,11 @@ namespace QSB.Instruments
|
|||||||
_rootObj = root;
|
_rootObj = root;
|
||||||
gameObject.AddComponent<CameraManager>();
|
gameObject.AddComponent<CameraManager>();
|
||||||
|
|
||||||
QSBInputManager.ChertTaunt += () => StartInstrument(AnimationType.Chert);
|
QSBInputManager.ChertTaunt += OnChertTaunt;
|
||||||
QSBInputManager.EskerTaunt += () => StartInstrument(AnimationType.Esker);
|
QSBInputManager.EskerTaunt += OnEskerTaunt;
|
||||||
QSBInputManager.FeldsparTaunt += () => StartInstrument(AnimationType.Feldspar);
|
QSBInputManager.FeldsparTaunt += OnFeldsparTaunt;
|
||||||
QSBInputManager.GabbroTaunt += () => StartInstrument(AnimationType.Gabbro);
|
QSBInputManager.GabbroTaunt += OnGabbroTaunt;
|
||||||
QSBInputManager.RiebeckTaunt += () => StartInstrument(AnimationType.Riebeck);
|
QSBInputManager.RiebeckTaunt += OnRiebeckTaunt;
|
||||||
QSBInputManager.ExitTaunt += ReturnToPlayer;
|
QSBInputManager.ExitTaunt += ReturnToPlayer;
|
||||||
|
|
||||||
QSBCore.Helper.Events.Unity.RunWhen(() => Locator.GetPlayerBody() != null, SetupInstruments);
|
QSBCore.Helper.Events.Unity.RunWhen(() => Locator.GetPlayerBody() != null, SetupInstruments);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user