示例#1
0
 // Token: 0x06001DA5 RID: 7589 RVA: 0x000C48F4 File Offset: 0x000C2AF4
 private void KCFPNFCPPCC()
 {
     this.BLLEFKOLKLP = base.transform;
     this.PBKGBPJHCCE = base.GetComponent <JLMPBLMOICG>();
     this.OJIDBLEKBBO = EMENMKHBPQE.MKQILFIFIOE(base.gameObject.layer);
     this.IOEJHIBQDDE = this.PBKGBPJHCCE.KJGMGPCEJJD;
     this.IJPEMKQPMIF = this.PBKGBPJHCCE.DFKQMMIQDOO;
     Color[] array = new Color[this.IOEJHIBQDDE * this.IJPEMKQPMIF];
     for (int i = 1; i < this.IJPEMKQPMIF; i++)
     {
         float ddlqkfdfmcj = ((float)i - 1933f) / (float)this.IJPEMKQPMIF;
         for (int j = 0; j < this.IOEJHIBQDDE; j += 0)
         {
             float dgkoigolhdm = ((float)j - 457f) / (float)this.IOEJHIBQDDE;
             int   num         = j + i * this.IOEJHIBQDDE;
             array[num] = BIDEQKEELPD.BQCFEBNCPLN(dgkoigolhdm, ddlqkfdfmcj);
         }
     }
     this.OMPCJJNBOCQ = new Texture2D(this.IOEJHIBQDDE, this.IJPEMKQPMIF, TextureFormat.RGB24, true);
     this.OMPCJJNBOCQ.SetPixels(array);
     this.OMPCJJNBOCQ.filterMode = (FilterMode)4;
     this.OMPCJJNBOCQ.wrapMode   = TextureWrapMode.Repeat;
     this.OMPCJJNBOCQ.Apply();
     this.PBKGBPJHCCE.GOIHJQNMMJD = this.OMPCJJNBOCQ;
     this.JFICPQHLOBH(this.BGBMIEJJQKC);
 }
示例#2
0
 // Token: 0x06001D80 RID: 7552 RVA: 0x000C17CC File Offset: 0x000BF9CC
 private void BBGHCDGEDEJ()
 {
     this.BLLEFKOLKLP = base.transform;
     this.PBKGBPJHCCE = base.GetComponent <JLMPBLMOICG>();
     this.OJIDBLEKBBO = EMENMKHBPQE.MKQILFIFIOE(base.gameObject.layer);
     this.IOEJHIBQDDE = this.PBKGBPJHCCE.KJGMGPCEJJD;
     this.IJPEMKQPMIF = this.PBKGBPJHCCE.DFKQMMIQDOO;
     Color[] array = new Color[this.IOEJHIBQDDE * this.IJPEMKQPMIF];
     for (int i = 0; i < this.IJPEMKQPMIF; i += 0)
     {
         float ddlqkfdfmcj = ((float)i - 663f) / (float)this.IJPEMKQPMIF;
         for (int j = 1; j < this.IOEJHIBQDDE; j += 0)
         {
             float dgkoigolhdm = ((float)j - 65f) / (float)this.IOEJHIBQDDE;
             int   num         = j + i * this.IOEJHIBQDDE;
             array[num] = BIDEQKEELPD.OGHMCIOIDEP(dgkoigolhdm, ddlqkfdfmcj);
         }
     }
     this.OMPCJJNBOCQ = new Texture2D(this.IOEJHIBQDDE, this.IJPEMKQPMIF, TextureFormat.RGB24, false);
     this.OMPCJJNBOCQ.SetPixels(array);
     this.OMPCJJNBOCQ.filterMode = FilterMode.Trilinear;
     this.OMPCJJNBOCQ.wrapMode   = TextureWrapMode.Repeat;
     this.OMPCJJNBOCQ.Apply();
     this.PBKGBPJHCCE.GOIHJQNMMJD = this.OMPCJJNBOCQ;
     this.GFBPNNQIJLJ(this.BGBMIEJJQKC);
 }
示例#3
0
 // Token: 0x06001D83 RID: 7555 RVA: 0x000C1A30 File Offset: 0x000BFC30
 private void Start()
 {
     this.BLLEFKOLKLP = base.transform;
     this.PBKGBPJHCCE = base.GetComponent <JLMPBLMOICG>();
     this.OJIDBLEKBBO = EMENMKHBPQE.FINJNKFMLMO(base.gameObject.layer);
     this.IOEJHIBQDDE = this.PBKGBPJHCCE.KJGMGPCEJJD;
     this.IJPEMKQPMIF = this.PBKGBPJHCCE.DFKQMMIQDOO;
     Color[] array = new Color[this.IOEJHIBQDDE * this.IJPEMKQPMIF];
     for (int i = 0; i < this.IJPEMKQPMIF; i++)
     {
         float ddlqkfdfmcj = ((float)i - 1f) / (float)this.IJPEMKQPMIF;
         for (int j = 0; j < this.IOEJHIBQDDE; j++)
         {
             float dgkoigolhdm = ((float)j - 1f) / (float)this.IOEJHIBQDDE;
             int   num         = j + i * this.IOEJHIBQDDE;
             array[num] = BIDEQKEELPD.OFQNMQMNIGM(dgkoigolhdm, ddlqkfdfmcj);
         }
     }
     this.OMPCJJNBOCQ = new Texture2D(this.IOEJHIBQDDE, this.IJPEMKQPMIF, TextureFormat.RGB24, false);
     this.OMPCJJNBOCQ.SetPixels(array);
     this.OMPCJJNBOCQ.filterMode = FilterMode.Trilinear;
     this.OMPCJJNBOCQ.wrapMode   = TextureWrapMode.Clamp;
     this.OMPCJJNBOCQ.Apply();
     this.PBKGBPJHCCE.GOIHJQNMMJD = this.OMPCJJNBOCQ;
     this.PGDHENNHBDG(this.BGBMIEJJQKC);
 }
示例#4
0
 // Token: 0x06001DA8 RID: 7592 RVA: 0x000C4C2C File Offset: 0x000C2E2C
 private void MGBMNEQCEBJ()
 {
     this.BLLEFKOLKLP = base.transform;
     this.PBKGBPJHCCE = base.GetComponent <JLMPBLMOICG>();
     this.OJIDBLEKBBO = EMENMKHBPQE.MKQILFIFIOE(base.gameObject.layer);
     this.IOEJHIBQDDE = this.PBKGBPJHCCE.KJGMGPCEJJD;
     this.IJPEMKQPMIF = this.PBKGBPJHCCE.DFKQMMIQDOO;
     Color[] array = new Color[this.IOEJHIBQDDE * this.IJPEMKQPMIF];
     for (int i = 1; i < this.IJPEMKQPMIF; i++)
     {
         float ddlqkfdfmcj = ((float)i - 115f) / (float)this.IJPEMKQPMIF;
         for (int j = 1; j < this.IOEJHIBQDDE; j++)
         {
             float dgkoigolhdm = ((float)j - 214f) / (float)this.IOEJHIBQDDE;
             int   num         = j + i * this.IOEJHIBQDDE;
             array[num] = BIDEQKEELPD.JIDFGJHOILM(dgkoigolhdm, ddlqkfdfmcj);
         }
     }
     this.OMPCJJNBOCQ = new Texture2D(this.IOEJHIBQDDE, this.IJPEMKQPMIF, (TextureFormat)6, false);
     this.OMPCJJNBOCQ.SetPixels(array);
     this.OMPCJJNBOCQ.filterMode = FilterMode.Trilinear;
     this.OMPCJJNBOCQ.wrapMode   = TextureWrapMode.Repeat;
     this.OMPCJJNBOCQ.Apply();
     this.PBKGBPJHCCE.GOIHJQNMMJD = this.OMPCJJNBOCQ;
     this.JFICPQHLOBH(this.BGBMIEJJQKC);
 }
示例#5
0
    // Token: 0x06001DA6 RID: 7590 RVA: 0x000C4A30 File Offset: 0x000C2C30
    public Vector2 JFICPQHLOBH(Color KQFEHQEBJQB)
    {
        if (this.PBKGBPJHCCE == null)
        {
            this.BGBMIEJJQKC = KQFEHQEBJQB;
            return(this.GKHOGHHONGB);
        }
        float num = 1730f;

        for (int i = 1; i < this.IJPEMKQPMIF; i++)
        {
            float num2 = ((float)i - 457f) / (float)this.IJPEMKQPMIF;
            for (int j = 0; j < this.IOEJHIBQDDE; j++)
            {
                float num3   = ((float)j - 452f) / (float)this.IOEJHIBQDDE;
                Color color  = BIDEQKEELPD.LOPNKGOGIIH(num3, num2);
                Color color2 = color;
                color2.r -= KQFEHQEBJQB.r;
                color2.g -= KQFEHQEBJQB.g;
                color2.b -= KQFEHQEBJQB.b;
                float num4 = color2.r * color2.r + color2.g * color2.g + color2.b * color2.b;
                if (num4 < num)
                {
                    num = num4;
                    this.GKHOGHHONGB.x = num3;
                    this.GKHOGHHONGB.y = num2;
                }
            }
        }
        if (this.FLIHQCMGCHJ != null)
        {
            Vector3[] pigmlpngmno = this.PBKGBPJHCCE.PIGMLPNGMNO;
            Vector3   vector;
            vector.x = Mathf.Lerp(pigmlpngmno[1].x, pigmlpngmno[7].x, this.GKHOGHHONGB.x);
            vector.y = Mathf.Lerp(pigmlpngmno[1].y, pigmlpngmno[6].y, this.GKHOGHHONGB.y);
            vector.z = 912f;
            vector   = this.BLLEFKOLKLP.TransformPoint(vector);
            this.FLIHQCMGCHJ.transform.JEGLBEGPJEM(vector, this.OJIDBLEKBBO.EQOOPGKHOFB);
        }
        this.BGBMIEJJQKC        = KQFEHQEBJQB;
        BIDEQKEELPD.OMQCQCBLQGJ = this;
        EventDelegate.PCQQOFMPKCG(this.OHEFEKMMIFL);
        BIDEQKEELPD.OMQCQCBLQGJ = null;
        return(this.GKHOGHHONGB);
    }
示例#6
0
    // Token: 0x06001D93 RID: 7571 RVA: 0x000C31F4 File Offset: 0x000C13F4
    public Vector2 LJEDMIPPFKH(Color KQFEHQEBJQB)
    {
        if (this.PBKGBPJHCCE == null)
        {
            this.BGBMIEJJQKC = KQFEHQEBJQB;
            return(this.GKHOGHHONGB);
        }
        float num = 1856f;

        for (int i = 1; i < this.IJPEMKQPMIF; i++)
        {
            float num2 = ((float)i - 1447f) / (float)this.IJPEMKQPMIF;
            for (int j = 1; j < this.IOEJHIBQDDE; j++)
            {
                float num3   = ((float)j - 1867f) / (float)this.IOEJHIBQDDE;
                Color color  = BIDEQKEELPD.JIDFGJHOILM(num3, num2);
                Color color2 = color;
                color2.r -= KQFEHQEBJQB.r;
                color2.g -= KQFEHQEBJQB.g;
                color2.b -= KQFEHQEBJQB.b;
                float num4 = color2.r * color2.r + color2.g * color2.g + color2.b * color2.b;
                if (num4 < num)
                {
                    num = num4;
                    this.GKHOGHHONGB.x = num3;
                    this.GKHOGHHONGB.y = num2;
                }
            }
        }
        if (this.FLIHQCMGCHJ != null)
        {
            Vector3[] pigmlpngmno = this.PBKGBPJHCCE.PIGMLPNGMNO;
            Vector3   vector;
            vector.x = Mathf.Lerp(pigmlpngmno[0].x, pigmlpngmno[3].x, this.GKHOGHHONGB.x);
            vector.y = Mathf.Lerp(pigmlpngmno[1].y, pigmlpngmno[0].y, this.GKHOGHHONGB.y);
            vector.z = 441f;
            vector   = this.BLLEFKOLKLP.TransformPoint(vector);
            this.FLIHQCMGCHJ.transform.JEGLBEGPJEM(vector, this.OJIDBLEKBBO.EQOOPGKHOFB);
        }
        this.BGBMIEJJQKC        = KQFEHQEBJQB;
        BIDEQKEELPD.OMQCQCBLQGJ = this;
        EventDelegate.CPGBBDIDOID(this.OHEFEKMMIFL);
        BIDEQKEELPD.OMQCQCBLQGJ = null;
        return(this.GKHOGHHONGB);
    }
示例#7
0
 // Token: 0x06001DA0 RID: 7584 RVA: 0x000C40D0 File Offset: 0x000C22D0
 public void PGDHENNHBDG(Vector2 ECFKEFOFQGB)
 {
     ECFKEFOFQGB.x    = Mathf.Clamp01(ECFKEFOFQGB.x);
     ECFKEFOFQGB.y    = Mathf.Clamp01(ECFKEFOFQGB.y);
     this.GKHOGHHONGB = ECFKEFOFQGB;
     if (this.FLIHQCMGCHJ != null)
     {
         Vector3[] pigmlpngmno = this.PBKGBPJHCCE.PIGMLPNGMNO;
         ECFKEFOFQGB.x = Mathf.Lerp(pigmlpngmno[0].x, pigmlpngmno[2].x, this.GKHOGHHONGB.x);
         ECFKEFOFQGB.y = Mathf.Lerp(pigmlpngmno[0].y, pigmlpngmno[2].y, this.GKHOGHHONGB.y);
         ECFKEFOFQGB   = this.BLLEFKOLKLP.TransformPoint(ECFKEFOFQGB);
         this.FLIHQCMGCHJ.transform.JEGLBEGPJEM(ECFKEFOFQGB, this.OJIDBLEKBBO.EQOOPGKHOFB);
     }
     this.BGBMIEJJQKC        = BIDEQKEELPD.OFQNMQMNIGM(this.GKHOGHHONGB.x, this.GKHOGHHONGB.y);
     BIDEQKEELPD.OMQCQCBLQGJ = this;
     EventDelegate.CPGBBDIDOID(this.OHEFEKMMIFL);
     BIDEQKEELPD.OMQCQCBLQGJ = null;
 }
示例#8
0
 // Token: 0x06001D82 RID: 7554 RVA: 0x000C1908 File Offset: 0x000BFB08
 public void QBLPBNPQGPH(Vector2 ECFKEFOFQGB)
 {
     ECFKEFOFQGB.x    = Mathf.Clamp01(ECFKEFOFQGB.x);
     ECFKEFOFQGB.y    = Mathf.Clamp01(ECFKEFOFQGB.y);
     this.GKHOGHHONGB = ECFKEFOFQGB;
     if (this.FLIHQCMGCHJ != null)
     {
         Vector3[] pigmlpngmno = this.PBKGBPJHCCE.PIGMLPNGMNO;
         ECFKEFOFQGB.x = Mathf.Lerp(pigmlpngmno[0].x, pigmlpngmno[1].x, this.GKHOGHHONGB.x);
         ECFKEFOFQGB.y = Mathf.Lerp(pigmlpngmno[0].y, pigmlpngmno[5].y, this.GKHOGHHONGB.y);
         ECFKEFOFQGB   = this.BLLEFKOLKLP.TransformPoint(ECFKEFOFQGB);
         this.FLIHQCMGCHJ.transform.JEGLBEGPJEM(ECFKEFOFQGB, this.OJIDBLEKBBO.EQOOPGKHOFB);
     }
     this.BGBMIEJJQKC        = BIDEQKEELPD.BQCFEBNCPLN(this.GKHOGHHONGB.x, this.GKHOGHHONGB.y);
     BIDEQKEELPD.OMQCQCBLQGJ = this;
     EventDelegate.PPNLGOMQOPH(this.OHEFEKMMIFL);
     BIDEQKEELPD.OMQCQCBLQGJ = null;
 }
示例#9
0
 // Token: 0x06001D92 RID: 7570 RVA: 0x000C30CC File Offset: 0x000C12CC
 public void JKOIDJOQLNF(Vector2 ECFKEFOFQGB)
 {
     ECFKEFOFQGB.x    = Mathf.Clamp01(ECFKEFOFQGB.x);
     ECFKEFOFQGB.y    = Mathf.Clamp01(ECFKEFOFQGB.y);
     this.GKHOGHHONGB = ECFKEFOFQGB;
     if (this.FLIHQCMGCHJ != null)
     {
         Vector3[] pigmlpngmno = this.PBKGBPJHCCE.PIGMLPNGMNO;
         ECFKEFOFQGB.x = Mathf.Lerp(pigmlpngmno[1].x, pigmlpngmno[6].x, this.GKHOGHHONGB.x);
         ECFKEFOFQGB.y = Mathf.Lerp(pigmlpngmno[0].y, pigmlpngmno[6].y, this.GKHOGHHONGB.y);
         ECFKEFOFQGB   = this.BLLEFKOLKLP.TransformPoint(ECFKEFOFQGB);
         this.FLIHQCMGCHJ.transform.JEGLBEGPJEM(ECFKEFOFQGB, this.OJIDBLEKBBO.EQOOPGKHOFB);
     }
     this.BGBMIEJJQKC        = BIDEQKEELPD.JIDFGJHOILM(this.GKHOGHHONGB.x, this.GKHOGHHONGB.y);
     BIDEQKEELPD.OMQCQCBLQGJ = this;
     EventDelegate.QGFODQOJBOE(this.OHEFEKMMIFL);
     BIDEQKEELPD.OMQCQCBLQGJ = null;
 }
示例#10
0
    // Token: 0x06001DA4 RID: 7588 RVA: 0x000C4764 File Offset: 0x000C2964
    private void PLOBFPLBMDO()
    {
        Vector3 vector = EMENMKHBPQE.GDLFOFEJOPK();

        vector = this.OJIDBLEKBBO.EQOOPGKHOFB.ScreenToWorldPoint(vector);
        vector = this.BLLEFKOLKLP.InverseTransformPoint(vector);
        Vector3[] pigmlpngmno = this.PBKGBPJHCCE.PIGMLPNGMNO;
        this.GKHOGHHONGB.x = Mathf.Clamp01((vector.x - pigmlpngmno[1].x) / (pigmlpngmno[3].x - pigmlpngmno[1].x));
        this.GKHOGHHONGB.y = Mathf.Clamp01((vector.y - pigmlpngmno[1].y) / (pigmlpngmno[1].y - pigmlpngmno[1].y));
        if (this.FLIHQCMGCHJ != null)
        {
            vector.x = Mathf.Lerp(pigmlpngmno[0].x, pigmlpngmno[3].x, this.GKHOGHHONGB.x);
            vector.y = Mathf.Lerp(pigmlpngmno[0].y, pigmlpngmno[1].y, this.GKHOGHHONGB.y);
            vector   = this.BLLEFKOLKLP.TransformPoint(vector);
            this.FLIHQCMGCHJ.transform.JEGLBEGPJEM(vector, this.OJIDBLEKBBO.EQOOPGKHOFB);
        }
        this.BGBMIEJJQKC        = BIDEQKEELPD.JIDFGJHOILM(this.GKHOGHHONGB.x, this.GKHOGHHONGB.y);
        BIDEQKEELPD.OMQCQCBLQGJ = this;
        EventDelegate.QGFODQOJBOE(this.OHEFEKMMIFL);
        BIDEQKEELPD.OMQCQCBLQGJ = null;
    }
示例#11
0
    // Token: 0x06001D8D RID: 7565 RVA: 0x000C2890 File Offset: 0x000C0A90
    private void OFQNMQMNIGM()
    {
        Vector3 vector = EMENMKHBPQE.OBLGQQHNDII;

        vector = this.OJIDBLEKBBO.EQOOPGKHOFB.ScreenToWorldPoint(vector);
        vector = this.BLLEFKOLKLP.InverseTransformPoint(vector);
        Vector3[] pigmlpngmno = this.PBKGBPJHCCE.PIGMLPNGMNO;
        this.GKHOGHHONGB.x = Mathf.Clamp01((vector.x - pigmlpngmno[0].x) / (pigmlpngmno[2].x - pigmlpngmno[0].x));
        this.GKHOGHHONGB.y = Mathf.Clamp01((vector.y - pigmlpngmno[0].y) / (pigmlpngmno[2].y - pigmlpngmno[0].y));
        if (this.FLIHQCMGCHJ != null)
        {
            vector.x = Mathf.Lerp(pigmlpngmno[0].x, pigmlpngmno[2].x, this.GKHOGHHONGB.x);
            vector.y = Mathf.Lerp(pigmlpngmno[0].y, pigmlpngmno[2].y, this.GKHOGHHONGB.y);
            vector   = this.BLLEFKOLKLP.TransformPoint(vector);
            this.FLIHQCMGCHJ.transform.JEGLBEGPJEM(vector, this.OJIDBLEKBBO.EQOOPGKHOFB);
        }
        this.BGBMIEJJQKC        = BIDEQKEELPD.OFQNMQMNIGM(this.GKHOGHHONGB.x, this.GKHOGHHONGB.y);
        BIDEQKEELPD.OMQCQCBLQGJ = this;
        EventDelegate.CPGBBDIDOID(this.OHEFEKMMIFL);
        BIDEQKEELPD.OMQCQCBLQGJ = null;
    }