using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityGameFramework.Runtime; public class SceneEventNpc : MonoBehaviour { public enum NpcIconType { Default = 0, // 默认 Store, // 杂货店 Smithy, // 铁匠铺 Storehouse, // 储物箱 Teleporter, // 传送点 Reword, // 悬赏商人 Email, // 邮箱 Ranking, // 排行榜 Entry, // 副本入口 Export, // 副本出口 } public string taskName = ""; public int npcId; public int stageIndex; public bool isNpc = false; public bool isOnly = true; /// /// 是否任务激活 /// public bool isTaskEnable = false; /// /// 对话开启条件 任务卡id /// public int requirementTaskId = 0; /// /// 对话开启条件 步骤id /// public int requirementStepId = 0; public NpcIconType iconType = NpcIconType.Default; public void Start() { AssemblyHelper.Instance.BindScript("SceneEventNpcLogic", this.gameObject); } }