some old sounds are added

This commit is contained in:
Timur Nizamov
2025-10-17 01:54:45 +03:00
parent 16c4680d6c
commit 013ed4944c
52 changed files with 929 additions and 43 deletions

View File

@@ -58,11 +58,13 @@ namespace _PROJECT.Multiplayer.NewBow
if (PullAmount == 0 & newPull > 0)
{
pullSounds.Play();
AudioManager.Instance.PlayAttachedInstance(FMODEvents.Instance.BowPullback, gameObject);
}
if (PullAmount < 0.98f & newPull >= 0.98f)
{
maxPullSounds.Play();
AudioManager.Instance.PlayAttachedInstance(FMODEvents.Instance.BowPullbackMax, gameObject);
}
PullAmount = newPull;

View File

@@ -63,6 +63,7 @@ namespace _PROJECT.Multiplayer.NewBow
OwnerDeselectRpc(Owner, arrow);
_interactionManager.SelectExit(_notch, _notch.firstInteractableSelected);
PlayReleaseSoundRPC();
AudioManager.Instance.PlayAttachedInstance(FMODEvents.Instance.BowArrowRelease, gameObject);
}
_arrowNetworkObject = null;
@@ -81,6 +82,7 @@ namespace _PROJECT.Multiplayer.NewBow
_interactionManager.SelectEnter(_notch as IXRSelectInteractor, arrow);
OwnerSelectRpc(Owner, arrowObject.GetComponent<NetworkObject>());
PlayNockSoundRPC();
AudioManager.Instance.PlayAttachedInstance(FMODEvents.Instance.BowArrowNock, gameObject);
}
public override void OnOwnershipClient(NetworkConnection prevOwner)