public override void onShow(bool immediately, string param) { mAiming.stop(true, false); mAiming.setStartIndex(1); mAiming.play(); mGreenAimingAnim.stop(true, false); mGreenAimingAnim.setStartIndex(1); mGreenAimingAnim.play(); }
// -------------------------------------------------------------------------------------------------------------------- protected void startRidingDone() { // 播放开始骑行的序列帧(从44帧开始循环播放) mStartRiding.setLoop(LOOP_MODE.LM_PINGPONG); mStartRiding.setStartIndex(44); mStartRiding.setPlayDirection(false); mStartRiding.play(); LayoutTools.ACTIVE_WINDOW(mGameIn); LayoutTools.ACTIVE_WINDOW(mGameOut); }