Initial testinf of ReverbRooms and Snapshots, fire alarm logic is improved
This commit is contained in:
@@ -36,7 +36,11 @@ public class AlarmTrigger : MonoBehaviour
|
||||
AudioManager.Instance.PlayAttachedInstance(FMODEvents.Instance.ServerRoomButton, PushButton.gameObject); //3d oneshot instance
|
||||
Debug.Log("Alarm button Pressed!");
|
||||
|
||||
AlarmSound.start();
|
||||
|
||||
if (!AudioManager.IsPlaying(AlarmSound))
|
||||
{
|
||||
AlarmSound.start();
|
||||
}
|
||||
|
||||
}
|
||||
void Update()
|
||||
|
||||
Reference in New Issue
Block a user