Added heartbeat SFX to doggie surgery scene. And also dead doggie.

This commit is contained in:
2025-01-12 20:43:28 +01:00
parent 6f1b664995
commit 2ca3b0f6ed
8 changed files with 396 additions and 40 deletions
+19
View File
@@ -0,0 +1,19 @@
using UnityEngine;
using UnityEngine.Events;
public class DelayEvent : MonoBehaviour
{
[SerializeField] private float _delayInSeconds;
[SerializeField] private UnityEvent _event;
public void InvokeDelayed()
{
Invoke(nameof(InvokeEvent), _delayInSeconds);
}
private void InvokeEvent()
{
_event?.Invoke();
}
}
+2
View File
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 1428aa8d322816b65abbe1103c4dda45