forked from cgvr/DeltaVR
fix most of FMOD errors in console
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user