forked from cgvr/DeltaVR
17 lines
391 B
C#
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);
|
|
}
|
|
}
|