Beispiel #1
0
        public void playFanPaiAni()
        {
            createAni();

            m_fanKaAni.setAniEndDisp(onFanPaiAniEnd);
            m_fanKaAni.stateId = 1;
            m_fanKaAni.play();
        }
Beispiel #2
0
 protected void createAni()
 {
     if (m_startAni == null)
     {
         m_startAni = new DopeSheetAni();
         string path = string.Format("{0}{1}", Ctx.m_instance.m_cfg.m_pathLst[(int)ResPathType.ePathSceneAnimatorController], "SelfCardAni.asset");
         m_startAni.setAniEndDisp(onFaPai2MinAniEnd);
         m_startAni.setControlInfo(path);
         m_startAni.setGO(this.m_card.gameObject());
         m_startAni.syncUpdateControl();
     }
 }