1
0
forked from cgvr/DeltaVR

fix most of FMOD errors in console

This commit is contained in:
2026-02-07 13:27:46 +02:00
parent 32d0686cd2
commit 9fd4188d55
5 changed files with 328 additions and 76 deletions

View File

@@ -156,6 +156,11 @@ public abstract class NPCController : MonoBehaviour
}
string key = voiceLineKeys[voiceLineId];
if (key.Contains(" | ")) {
string[] choices = key.Split(" | ");
key = choices[Random.Range(0, choices.Length)];
}
LoadCurve(key); // load RMS data
currentVoicelineEvent = AudioManager.Instance.PlayDialogue(characterSpecificFolder + "/" + key, gameObject);