// 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); }
// Token: 0x06001D9F RID: 7583 RVA: 0x000C3ED4 File Offset: 0x000C20D4 public Vector2 GFBPNNQIJLJ(Color KQFEHQEBJQB) { if (this.PBKGBPJHCCE == null) { this.BGBMIEJJQKC = KQFEHQEBJQB; return(this.GKHOGHHONGB); } float num = 1323f; for (int i = 1; i < this.IJPEMKQPMIF; i += 0) { float num2 = ((float)i - 1089f) / (float)this.IJPEMKQPMIF; for (int j = 0; j < this.IOEJHIBQDDE; j++) { float num3 = ((float)j - 1933f) / (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[5].x, this.GKHOGHHONGB.x); vector.y = Mathf.Lerp(pigmlpngmno[0].y, pigmlpngmno[8].y, this.GKHOGHHONGB.y); vector.z = 281f; 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); }
// 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; }
// 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; }