added some sound in FMOD

This commit is contained in:
Timur Nizamov
2026-01-16 22:40:02 +02:00
parent 6def60df98
commit 389707b5f7
101 changed files with 3931 additions and 25 deletions

View File

@@ -211,7 +211,7 @@ public class AudioManager : MonoBehaviour
EventInstance instance = RuntimeManager.CreateInstance(sound);
RuntimeManager.AttachInstanceToGameObject(instance, go);
instance.start();
// instance.release();
instance.release();
eventInstances.Add(instance);
return instance;
@@ -369,7 +369,7 @@ public class AudioManager : MonoBehaviour
{
var parameter = Marshal.PtrToStructure<PROGRAMMER_SOUND_PROPERTIES>(parameterPtr);
var sound = new FMOD.Sound(parameter.sound);
sound.release();
sound.release();
break;
}