1
0
forked from cgvr/DeltaVR
Files
DeltaVR3DModelGeneration/Assets/_PROJECT/Scripts/ModeGeneration/NPCs/CafeWaiterNPC.cs

17 lines
391 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CafeWaiterNPC : NPCController
{
protected override void OnPlayerApproach()
{
AudioManager.Instance.PlayDialogue(voiceLineKeys[0], gameObject);
}
protected override void OnPlayerLeave()
{
AudioManager.Instance.PlayDialogue(voiceLineKeys[1], gameObject);
}
}