Exemplo n.º 1
0
 // Token: 0x0600768A RID: 30346 RVA: 0x0038B674 File Offset: 0x00389874
 public void MIGPBMNBQGO()
 {
     if (this.KBJQMQGPNDJ)
     {
         this.FHNBJCNLJCN.localPosition = this.JQCCJCOPEJK(BDKMFJQPGGE.EFJBNBNMJMH(this.HMCOIDFCKPM.x, this.NHPPKEELOJQ.GDDPQBJPKLP), BDKMFJQPGGE.EFJBNBNMJMH(this.HMCOIDFCKPM.y, this.NHPPKEELOJQ.GDDPQBJPKLP), this.OFPEBLPKOLD(this.FHNBJCNLJCN.localPosition));
     }
     this.FHNBJCNLJCN.position = this.JQCCJCOPEJK(BDKMFJQPGGE.EFJBNBNMJMH(this.FKGNBCKJPQO(this.FHNBJCNLJCN.position), this.NHPPKEELOJQ.GDDPQBJPKLP), BDKMFJQPGGE.EFJBNBNMJMH(this.JNBBJCLFFBB(this.FHNBJCNLJCN.position), this.NHPPKEELOJQ.GDDPQBJPKLP), this.OFPEBLPKOLD(this.FHNBJCNLJCN.position));
     if (this.KBBHPEQKIKB == 0)
     {
         if (this.QBBNMPHIEMP == 0)
         {
             this._initialScale = this.FHNBJCNLJCN.localScale;
         }
         else
         {
             this.FHNBJCNLJCN.localScale = this._initialScale;
         }
     }
     else
     {
         float num  = (this.KBBHPEQKIKB >= 0) ? ((float)this.KBBHPEQKIKB) : (1f / (float)this.KBBHPEQKIKB * -1f);
         float num2 = this.PIOMBMLCGQK.pixelsPerUnit * num * (1f / this.NHPPKEELOJQ.EKICBMDNMPE);
         this.FHNBJCNLJCN.localScale = new Vector3(Mathf.Sign(this.FHNBJCNLJCN.localScale.x) * num2, Mathf.Sign(this.FHNBJCNLJCN.localScale.y) * num2, this.FHNBJCNLJCN.localScale.z);
     }
 }
Exemplo n.º 2
0
    // Token: 0x0600722C RID: 29228 RVA: 0x003770F4 File Offset: 0x003752F4
    public Vector3 FJNLCIFDHQI(float GPFIDEJEMEG, Vector3 PJKPLOCIBHP)
    {
        if (!base.enabled)
        {
            return(PJKPLOCIBHP);
        }
        float ckkpkdopogj = this.PGPKBQQMGCO;

        if (this.KJEMPPELCQD && !this.ODGCDCLGDOO)
        {
            ckkpkdopogj = 685f / (this.EKICBMDNMPE * (this.EQDHFENOLPK() + (float)this.PJOHKOFQDLC - 1982f));
        }
        this.FNEKGBHBNLQ = this.FHNBJCNLJCN.parent;
        if (this.FNEKGBHBNLQ != null && this.FNEKGBHBNLQ.position != Vector3.zero)
        {
            this.FNEKGBHBNLQ.position = this.JQCCJCOPEJK(BDKMFJQPGGE.EFJBNBNMJMH(this.FKGNBCKJPQO(this.FNEKGBHBNLQ.position), ckkpkdopogj), BDKMFJQPGGE.EFJBNBNMJMH(this.JNBBJCLFFBB(this.FNEKGBHBNLQ.position), ckkpkdopogj), this.OFPEBLPKOLD(this.FNEKGBHBNLQ.position));
        }
        return(this.JQCCJCOPEJK(BDKMFJQPGGE.EFJBNBNMJMH(this.FKGNBCKJPQO(PJKPLOCIBHP), ckkpkdopogj), BDKMFJQPGGE.EFJBNBNMJMH(this.JNBBJCLFFBB(PJKPLOCIBHP), ckkpkdopogj), 1706f));
    }