Example #1
0
 public override void init()
 {
     mAiming.setAutoHide(false);
     mAiming.setLoop(LOOP_MODE.LM_LOOP);
     mGreenAimingAnim.setLoop(LOOP_MODE.LM_LOOP);
     mOriginHeight = mAiming.getWindowSize().y;
 }
Example #2
0
    public override void onShow(bool immediately, string param)
    {
        LayoutTools.MOVE_WINDOW_EX(mTrackRoot, mTrackRootStartPos, mTrackRootEndPos, 1.0f, onTrackRootMoveEnd);
        LayoutTools.ALPHA_WINDOW(mTrackRoot, 0.3f, 1.0f, 1.0f);

        mSelectTrackTitle.setLoop(LOOP_MODE.LM_ONCE);
        mSelectTrackTitle.setAutoHide(false);
        mSelectTrackTitle.stop(true, false);
        mSelectTrackTitle.play();
    }
Example #3
0
    public override void init()
    {
        mSelectionRoleTitle.setAutoHide(false);
        mLayout.setScriptControlHide(true);
        int count = mRoleSelectionList.Count;

        for (int i = 0; i < count; ++i)
        {
            mRoleSelectionList[i].init();
        }
    }
Example #4
0
    protected void onLabelShow(object user_data, Command cmd)
    {
        int   count     = mLabelList.Count;
        float delaytime = 0.5f;

        for (int i = 0; i < count; i++)
        {
            LayoutTools.ACTIVE_WINDOW_DELAY(this, mLabelList[i], true, delaytime);
            delaytime += 0.5f;
        }

        LayoutTools.ACTIVE_WINDOW_DELAY(this, mNext, true, 2.5f);
        LayoutTools.ACTIVE_WINDOW_DELAY(this, mAIcon, true, 3.5f);
        mNext.setLoop(LOOP_MODE.LM_ONCE);
        mNext.setAutoHide(false);
        mNext.stop(true, false);
        mNext.play();
    }
Example #5
0
    public override void onShow(bool immediately, string param)
    {
        mDataRanking.setLoop(LOOP_MODE.LM_ONCE);
        mDataRanking.setAutoHide(false);
        mDataRanking.stop(true, false);
        mDataRanking.play();
        float delaytime = 0.0f;
        int   count     = mAminList.Count;

        for (int i = 0; i < count; i++)
        {
            LayoutTools.ACTIVE_WINDOW_DELAY_EX(this, mAminList[i], true, delaytime, onLabelShow, null);
            delaytime += 0.5f;
            mAminList[i].setLoop(LOOP_MODE.LM_ONCE);
            mAminList[i].setAutoHide(false);
            mAminList[i].stop(true, false);
            mAminList[i].play();
        }
    }
Example #6
0
 public void init()
 {
     mStartPosition = mRole.getPosition();
     mEndPosition   = mEnd.getPosition();
     mRole.setAutoHide(false);
 }
 public void init()
 {
     mEffectNode.setAutoHide(false);
     mEffectNode.setUseTextureSize(true);
 }
Example #8
0
 public override void init()
 {
     mStartRiding.setInterval(0.06f);
     mStartRiding.setAutoHide(false);
 }