public override bool Execute(object sender, SkillInstance instance, long delta, long curSectionTime) { if (curSectionTime < m_StartTime) { return(true); } UnityEngine.GameObject obj = sender as UnityEngine.GameObject; if (obj == null) { return(false); } UnityEngine.Vector3 position = obj.transform.TransformPoint(m_LocalPostion); //Debug.Log("---summon npc: isSimulate=" + m_IsSimulate); LogicSystem.NotifyGfxSummonNpc(obj, instance.SkillId, m_NpcTypeId, m_ModelPrefab, m_SkillId, m_AiLogicId, m_followsummonerdead, position.x, position.y, position.z, m_AiParamStr, m_SignForSkill, m_IsSimulate); return(false); }