Beispiel #1
0
 // Token: 0x06000CFF RID: 3327 RVA: 0x00070408 File Offset: 0x0006E608
 private void OnDrag(Vector2 delta)
 {
     if (this.mDragging && this.target != null)
     {
         Ray   blhkbchjnqe = EMENMKHBPQE.BLHKBCHJNQE;
         float distance;
         if (this.mPlane.Raycast(blhkbchjnqe, out distance))
         {
             Transform cgdfdphieng = this.target.CGDFDPHIENG;
             cgdfdphieng.localPosition = this.mLocalPos;
             this.target.KJGMGPCEJJD   = this.mWidth;
             this.target.DFKQMMIQDOO   = this.mHeight;
             Vector3 b = blhkbchjnqe.GetPoint(distance) - this.mRayPos;
             cgdfdphieng.position += b;
             Vector3 vector = Quaternion.Inverse(cgdfdphieng.localRotation) * (cgdfdphieng.localPosition - this.mLocalPos);
             cgdfdphieng.localPosition = this.mLocalPos;
             JNNGOIIKENH.LNQGLIIFOOC(this.target, this.pivot, vector.x, vector.y, this.minWidth, this.minHeight, this.maxWidth, this.maxHeight);
             if (this.updateAnchors)
             {
                 this.target.BroadcastMessage("UpdateAnchors");
             }
         }
     }
 }
Beispiel #2
0
 // Token: 0x06001586 RID: 5510 RVA: 0x0000B4F4 File Offset: 0x000096F4
 public static void LNQGLIIFOOC(ENFMCDNLEQQ OKQHFQFJGCH, ENFMCDNLEQQ.GGBIQFIQQCM OEJCHHFIQDC, float DGKOIGOLHDM, float DDLQKFDFMCJ, int QPKCPBJINBK, int IPGGCHLFDCF)
 {
     JNNGOIIKENH.LNQGLIIFOOC(OKQHFQFJGCH, OEJCHHFIQDC, DGKOIGOLHDM, DDLQKFDFMCJ, 2, 2, 100000, 100000);
 }