private void InitKeyCallBack() { LeftKey.SetDoubleClickCallBack(() => { Debug.LogError("Ë«»÷LeftKey¡·¡·¡·¡·"); paramData.SetString("100102"); ECSLocate.Player.PushPlayerReq(RequestId.PushSkill, paramData); }); RightKey.SetDoubleClickCallBack(() => { Debug.LogError("Ë«»÷RightKey¡·¡·¡·¡·"); paramData.SetString("100102"); ECSLocate.Player.PushPlayerReq(RequestId.PushSkill, paramData); }); }
protected override void OnEnter(NodeData wData) { paramData.SetString(skillId); EntityWorkData workData = wData as EntityWorkData; LCECS.ECSLayerLocate.Request.PushRequest(workData.MEntity.GetHashCode(), LCECS.RequestId.PushSkill, paramData); }
private void Enter(NodeData wData) { EntityWorkData workData = wData as EntityWorkData; switch (inputCom.CurrAction) { case InputAction.None: break; case InputAction.Move: paramData.SetVect2(inputCom.Param.GetVect2()); ECSLayerLocate.Request.PushRequest(workData.MEntity.GetHashCode(), RequestId.Move, paramData); return; case InputAction.Skill: paramData.SetString(inputCom.Param.GetString()); ECSLayerLocate.Request.PushRequest(workData.MEntity.GetHashCode(), RequestId.PushSkill, paramData); return; default: break; } }