public IEnumerator OnNetMsg_NotifySkillModelEmitCoroutine(EmitSkill pMsg) { UInt64 skillPlayerID = pMsg.guid; UInt64 skillTargetID = pMsg.targuid; Vector3 pos = this.ConvertPosToVector3(pMsg.tarpos); Vector3 dir = this.ConvertDirToVector3(pMsg.dir); //普通追踪特效 yield return(1); FlyEffect effect = EffectManager.Instance.CreateFlyEffect(skillPlayerID, skillTargetID, pMsg.effectid, (uint)pMsg.uniqueid, pos, dir, pMsg.ifAbsorbSkill); }
public int OnNotifySkillModelEmit(EmitSkill pMsg) { StartCoroutine(OnNetMsg_NotifySkillModelEmitCoroutine(pMsg)); return((Int32)ErrorCodeEnum.Normal); }