Exemple #1
0
 // Token: 0x060017D1 RID: 6097 RVA: 0x000A811C File Offset: 0x000A631C
 private void QFQJOMDQNPJ(BLMNBILNMOE.AnchorPoint QHBFEPKEKHG)
 {
     if (!(QHBFEPKEKHG.target == null) && !(QHBFEPKEKHG.rect != null))
     {
         QHBFEPKEKHG.targetCam = IKBQNBHOJJB.FINJNKFMLMO(QHBFEPKEKHG.target.gameObject.layer);
     }
     else
     {
         QHBFEPKEKHG.targetCam = null;
     }
 }
Exemple #2
0
 // Token: 0x060017BD RID: 6077 RVA: 0x000A79D4 File Offset: 0x000A5BD4
 protected Vector3 IFGLHHBDJCJ(BLMNBILNMOE.AnchorPoint PLQBLMMGMHM, Transform HHMCPQQKIKB)
 {
     if (!(this.DGFFHGQEJLH == null) && !(PLQBLMMGMHM.targetCam == null))
     {
         Rect    rect    = PLQBLMMGMHM.targetCam.rect;
         Vector3 vector  = PLQBLMMGMHM.targetCam.WorldToViewportPoint(PLQBLMMGMHM.target.position);
         Vector3 vector2 = new Vector3(vector.x * rect.width + rect.x, vector.y * rect.height + rect.y, vector.z);
         vector2 = this.OJIDBLEKBBO.ViewportToWorldPoint(vector2);
         if (HHMCPQQKIKB != null)
         {
             vector2 = HHMCPQQKIKB.InverseTransformPoint(vector2);
         }
         vector2.x = Mathf.Floor(vector2.x + 0.5f);
         vector2.y = Mathf.Floor(vector2.y + 0.5f);
         return(vector2);
     }
     return(this.CGDFDPHIENG.localPosition);
 }