21 lines
569 B
C#
21 lines
569 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class NPCController : PermanentTriggerBase
|
|
{
|
|
public string npcSpeack;
|
|
protected override void OnMDown()
|
|
{
|
|
base.OnMDown();
|
|
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerID, true) == 0)
|
|
{
|
|
GameManager.UIMgr.ShowPanel<UI_CustomSessionPanel>(E_UI_Layer.Mid, (panel) =>
|
|
{
|
|
panel.Init(triggerID, npcSpeack, null);
|
|
});
|
|
_highlight.SetHighlighted(false);
|
|
}
|
|
}
|
|
}
|