forked from cgvr/DeltaVR
WIP animate mouth scale based on precalculated voiceline amplitude timelines
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class ArcheryRangeNPC : NPCController
|
||||
{
|
||||
protected override void OnPlayerApproach()
|
||||
{
|
||||
Debug.Log("Alien NPC: player approached");
|
||||
AudioManager.Instance.PlayDialogue(voiceLineKeys[0], gameObject);
|
||||
}
|
||||
|
||||
protected override void OnPlayerLeave()
|
||||
{
|
||||
Debug.Log("Alien NPC: player left");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user