using UnityEngine; using System.Collections; using YLTask; using GameFramework.Event; /// /// 任务事件处理者 道具类型 /// public partial class TaskEventProcessor { /// /// 初始化道具 /// private void InitItem() { _TaskEventDict.Add(Enum_EventType.TaskCardActived + Enum_TaskCmdType.GainItem.ToString(), AddItem); _TaskEventDict.Add(Enum_EventType.MissionStepProcess + Enum_TaskCmdType.GainItem.ToString(), AddItem); } /// /// 添加道具 /// public void AddItem(GameEventArgs e) { TaskEventStepProcess finish = e as TaskEventStepProcess; } public void ActivedGainItem(GameEventArgs e) { TaskCardEventAtive eventAtive = e as TaskCardEventAtive; } }