// 一个动画播放完成 public void onAniEnd(NumAniBase ani) { if (onAniEndDisp != null) { onAniEndDisp(ani); } }
protected void onMin2HandleEnd(NumAniBase ani) { //m_startAni.stateId = 0; //m_startAni.play(); m_onEnterHandleEntryDisp.dispatchEvent(this.m_card); Ctx.m_instance.m_logSys.log("自己卡牌从场景区域到手牌区域动画结束"); }
protected void endCurAni(NumAniBase ani) { if (ani.bAniEndDispNotNull()) { ani.getAniEndDisp()(ani); } ani.stop(); // 停止动画 m_numAniList.Remove(ani); }
// 开始卡牌动画播放结束,注意开始有 3 张或者 4 张卡牌做动画,只有一个有回调函数 protected void onFaPai2MinAniEnd(NumAniBase ani) { //m_startAni.stateId = 0; //m_startAni.play(); //m_startAni.stop(); //m_sceneCardBaseData.m_behaviorControl.moveToDestDirect(trackAniControl.destPos); // 移动到终点位置 Ctx.m_instance.m_logSys.log("自己卡牌从发牌区到场景区域动画结束"); }
public void addOneNumAni(NumAniBase ani) { m_numAniList.Add(ani); if (ani is ITweenAniBase) // 如果是补间动画 { ani.setDispGo(m_go); ani.setMethodName("onAniEnd"); } else if(ani is DopeSheetAni) { ani.setAniEndDisp(onOneAniEndHandle); } }
public void addOneNumAni(NumAniBase ani) { m_numAniList.Add(ani); if (ani is ITweenAniBase) // 如果是补间动画 { ani.setDispGo(m_go); ani.setMethodName("onAniEnd"); } else if (ani is DopeSheetAni) { ani.setAniEndDisp(onOneAniEndHandle); } }
virtual protected void onOneAniEndHandle(NumAniBase ani) { }
protected void onFanPaiAniEnd(NumAniBase ani) { m_bOpened = true; ++UIOpenPack.m_iOpenedNum; if (UIOpenPack.m_iOpenedNum == 5) { UIOpenPack.m_iOpenedNum = 0; UIOpenPack uiPack = Ctx.m_instance.m_uiMgr.getForm(UIFormID.eUIOpenPack) as UIOpenPack; if (uiPack != null) { UtilApi.SetActive(uiPack.m_okBtn.selfGo, true); } } }
public void onMove2InplaceEnd(NumAniBase ani) { m_attStateFSM.MoveToState(SceneStateId.SSDest2Inplaced); }
public void onMove2DestEnd(NumAniBase ani) { onMoveEndHandle(null); }
protected void onStart2HandleAni(NumAniBase ani) { Ctx.m_instance.m_logSys.log("自己卡牌从发牌区域到手牌区域动画结束"); m_onEnterHandleEntryDisp.dispatchEvent(this.m_card); }
// 开始卡牌动画播放结束 protected void onEnemyFaPaiAniEnd(NumAniBase ani) { m_onEnterHandleEntryDisp.dispatchEvent(this.m_card); Ctx.m_instance.m_logSys.log("Enemy 卡牌从发牌区域到手牌区域动画结束"); }
// 特效移动到终点 protected void onMoveToDest(NumAniBase ani) { m_moveDestEventDispatch.dispatchEvent(this); }