コード例 #1
0
ファイル: ScriptTopTime.cs プロジェクト: isoundy000/RiseFree
 public override void init()
 {
     mTimeStartPos = mTimeStart.getPosition();
     mTimeEndPos   = mTimeRoot.getPosition();
     mMin.setDockingPosition(DOCKING_POSITION.DP_LEFT);
     mMin.setDockingPosition(DOCKING_POSITION.DP_RIGHT);
 }
コード例 #2
0
 public override void init()
 {
     // 得到所有的位置
     mBackgroundStartPos    = mBackgroundStart.getPosition();
     mBackgroundEndPos      = mBackgroundEnd.getPosition();
     mLabelAndSoundStartPos = mLabelAndSoundStart.getPosition();
     mLabelAndSoundEndPos   = mLabelAndSoundEnd.getPosition();
     mLayout.setScriptControlHide(true);
 }
コード例 #3
0
ファイル: ScriptProps.cs プロジェクト: isoundy000/RiseFree
 public void init()
 {
     mOriginPosition        = mProp.getPosition();
     mOriginScale           = mProp.getScale();
     mOriginPropDepth       = mProp.getDepth();
     mOriginBackgroundDepth = mBackground.getDepth();
     mOriginLabelDepth      = mLabel.getDepth();
     mOriginIconDepth       = mIcon.getDepth();
 }
コード例 #4
0
 public void init()
 {
     mOriginPosition     = mTrack.getPosition();
     mOriginScale        = mTrack.getScale();
     mOriginTrackDepth   = mTrack.getDepth();
     mOriginCheckedDepth = mChecked.getDepth();
     mOriginLabelDepth   = mLabel.getDepth();
     mOriginTextureDepth = mTexture.getDepth();
 }
コード例 #5
0
    public override void init()
    {
        mTrackStartPos        = mTrackStart.getPosition();
        mTrackEndPos          = mTrackRoot.getPosition();
        mBackgroundSize       = mBackgroundRoot.getWindowSize();
        mPlayerBackgroundSize = mPlayerBackground.getWindowSize();
        int count = mLapDividedPos.Length;

        for (int i = 0; i < count; ++i)
        {
            mLapDividedPos[i] = mLapDivided[i].getPosition();
        }
    }
コード例 #6
0
    public override void init()
    {
        mLayout.setScriptControlHide(true);
        int trackCount = mTrackList.Count;

        for (int i = 0; i < trackCount; ++i)
        {
            mTrackList[i].init();
        }
        trackCount = mTrackList.Count;
        for (int i = 0; i < trackCount; ++i)
        {
            mTrackList[i].setControlValueOffset((float)i / trackCount);
        }
        mTrackRootStartPos = mTrackRootStart.getPosition();
        mTrackRootEndPos   = mTrackRoot.getPosition();
    }