using System; using UnityEngine; using UnityEngine.UI; // Token: 0x02000983 RID: 2435 [RequireComponent(typeof(Image))] public class ScrollDetailTexture : MonoBehaviour { // Token: 0x0601255C RID: 75100 RVA: 0x00542A88 File Offset: 0x00540C88 private void AGDGJOLCPDL() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = "GiftDropId" + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = (HideFlags)96; this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x0601255D RID: 75101 RVA: 0x00542B24 File Offset: 0x00540D24 private void GBHKPBDCHIE() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = "time" + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = ~(HideFlags.HideInHierarchy | HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.DontSaveInBuild | HideFlags.DontUnloadUnusedAsset); this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x0601255E RID: 75102 RVA: 0x00542BC0 File Offset: 0x00540DC0 private void FOJMCLIHCHJ() { if (this.OKMKIICNJOA != null) { this.LLNLJJKBJKL.material = this.DAHHJNIHMFM; if (Application.isEditor) { global::UnityEngine.Object.DestroyImmediate(this.OKMKIICNJOA); } else { global::UnityEngine.Object.Destroy(this.OKMKIICNJOA); } this.OKMKIICNJOA = null; } this.DAHHJNIHMFM = null; } // Token: 0x06012560 RID: 75104 RVA: 0x00542C38 File Offset: 0x00540E38 private void OnEnable() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = "Copy of " + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = HideFlags.DontSave; this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x06012561 RID: 75105 RVA: 0x00542CD4 File Offset: 0x00540ED4 private void PLKHINPPGPK() { Material material = ((!(this.OKMKIICNJOA != null)) ? this.DAHHJNIHMFM : this.OKMKIICNJOA); if (material != null) { Texture texture = material.GetTexture("api/settings/"); if (texture != null) { material.SetTextureOffset("rotate", this.scrollPerSecond * Time.time); } } } // Token: 0x06012562 RID: 75106 RVA: 0x00542D44 File Offset: 0x00540F44 private void DCHHEKEBMHL() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = "chunked" + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = HideFlags.DontSaveInEditor | HideFlags.DontSaveInBuild; this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x06012563 RID: 75107 RVA: 0x00542DE0 File Offset: 0x00540FE0 private void HNNINFHGLCP() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = "_Color" + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = (HideFlags)122; this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x06012564 RID: 75108 RVA: 0x00542E7C File Offset: 0x0054107C private void GPFGKKFDIED() { if (this.OKMKIICNJOA != null) { this.LLNLJJKBJKL.material = this.DAHHJNIHMFM; if (Application.isEditor) { global::UnityEngine.Object.DestroyImmediate(this.OKMKIICNJOA); } else { global::UnityEngine.Object.Destroy(this.OKMKIICNJOA); } this.OKMKIICNJOA = null; } this.DAHHJNIHMFM = null; } // Token: 0x06012565 RID: 75109 RVA: 0x00542EE0 File Offset: 0x005410E0 private void GIGHAGFGLLB() { if (this.OKMKIICNJOA != null) { this.LLNLJJKBJKL.material = this.DAHHJNIHMFM; if (Application.isEditor) { global::UnityEngine.Object.DestroyImmediate(this.OKMKIICNJOA); } else { global::UnityEngine.Object.Destroy(this.OKMKIICNJOA); } this.OKMKIICNJOA = null; } this.DAHHJNIHMFM = null; } // Token: 0x06012566 RID: 75110 RVA: 0x00542F44 File Offset: 0x00541144 private void Update() { Material material = ((!(this.OKMKIICNJOA != null)) ? this.DAHHJNIHMFM : this.OKMKIICNJOA); if (material != null) { Texture texture = material.GetTexture("_DetailTex"); if (texture != null) { material.SetTextureOffset("_DetailTex", this.scrollPerSecond * Time.time); } } } // Token: 0x06012567 RID: 75111 RVA: 0x00542FB4 File Offset: 0x005411B4 private void MDGPLNDHKCI() { Material material = ((!(this.OKMKIICNJOA != null)) ? this.DAHHJNIHMFM : this.OKMKIICNJOA); if (material != null) { Texture texture = material.GetTexture("lobby '{0}'[{1}]"); if (texture != null) { material.SetTextureOffset("localProfile: {0}", this.scrollPerSecond * Time.time); } } } // Token: 0x06012568 RID: 75112 RVA: 0x00543024 File Offset: 0x00541224 private void AMFMBKHHBGE() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = "time" + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = (HideFlags)(-98); this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x06012569 RID: 75113 RVA: 0x005430C0 File Offset: 0x005412C0 private void NHPIGMEFBNO() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = " is missing an enemy script." + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = (HideFlags)(-99); this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x0601256A RID: 75114 RVA: 0x0054315C File Offset: 0x0054135C private void DCILLKCLNCI() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = "SHAKE_S" + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = ~(HideFlags.DontSaveInEditor | HideFlags.NotEditable | HideFlags.DontSaveInBuild); this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x0601256B RID: 75115 RVA: 0x005431F8 File Offset: 0x005413F8 private void IBDJIHEMGMJ() { if (this.OKMKIICNJOA != null) { this.LLNLJJKBJKL.material = this.DAHHJNIHMFM; if (Application.isEditor) { global::UnityEngine.Object.DestroyImmediate(this.OKMKIICNJOA); } else { global::UnityEngine.Object.Destroy(this.OKMKIICNJOA); } this.OKMKIICNJOA = null; } this.DAHHJNIHMFM = null; } // Token: 0x0601256C RID: 75116 RVA: 0x0054325C File Offset: 0x0054145C private void DMAPCNBHMDD() { this.LLNLJJKBJKL = base.GetComponent(); this.DAHHJNIHMFM = this.LLNLJJKBJKL.material; if (this.uniqueMaterial && this.LLNLJJKBJKL.material != null) { this.OKMKIICNJOA = new Material(this.DAHHJNIHMFM); this.OKMKIICNJOA.name = "Anti-Cheat Toolkit Detectors" + this.DAHHJNIHMFM.name; this.OKMKIICNJOA.hideFlags = HideFlags.HideInInspector | HideFlags.NotEditable; this.LLNLJJKBJKL.material = this.OKMKIICNJOA; } } // Token: 0x0601256D RID: 75117 RVA: 0x005432F8 File Offset: 0x005414F8 private void GADIJHPLGJG() { if (this.OKMKIICNJOA != null) { this.LLNLJJKBJKL.material = this.DAHHJNIHMFM; if (Application.isEditor) { global::UnityEngine.Object.DestroyImmediate(this.OKMKIICNJOA); } else { global::UnityEngine.Object.Destroy(this.OKMKIICNJOA); } this.OKMKIICNJOA = null; } this.DAHHJNIHMFM = null; } // Token: 0x0601256E RID: 75118 RVA: 0x0054335C File Offset: 0x0054155C private void IINNMJDJDAP() { if (this.OKMKIICNJOA != null) { this.LLNLJJKBJKL.material = this.DAHHJNIHMFM; if (Application.isEditor) { global::UnityEngine.Object.DestroyImmediate(this.OKMKIICNJOA); } else { global::UnityEngine.Object.Destroy(this.OKMKIICNJOA); } this.OKMKIICNJOA = null; } this.DAHHJNIHMFM = null; } // Token: 0x0601256F RID: 75119 RVA: 0x005433C0 File Offset: 0x005415C0 private void HGKHOCODDDF() { if (this.OKMKIICNJOA != null) { this.LLNLJJKBJKL.material = this.DAHHJNIHMFM; if (Application.isEditor) { global::UnityEngine.Object.DestroyImmediate(this.OKMKIICNJOA); } else { global::UnityEngine.Object.Destroy(this.OKMKIICNJOA); } this.OKMKIICNJOA = null; } this.DAHHJNIHMFM = null; } // Token: 0x06012570 RID: 75120 RVA: 0x00543424 File Offset: 0x00541624 private void ENGNDJADBDF() { Material material = ((!(this.OKMKIICNJOA != null)) ? this.DAHHJNIHMFM : this.OKMKIICNJOA); if (material != null) { Texture texture = material.GetTexture("{0}: {1}"); if (texture != null) { material.SetTextureOffset("{0:s}", this.scrollPerSecond * Time.time); } } } // Token: 0x06012571 RID: 75121 RVA: 0x00543494 File Offset: 0x00541694 private void OnDisable() { if (this.OKMKIICNJOA != null) { this.LLNLJJKBJKL.material = this.DAHHJNIHMFM; if (Application.isEditor) { global::UnityEngine.Object.DestroyImmediate(this.OKMKIICNJOA); } else { global::UnityEngine.Object.Destroy(this.OKMKIICNJOA); } this.OKMKIICNJOA = null; } this.DAHHJNIHMFM = null; } // Token: 0x04003321 RID: 13089 public bool uniqueMaterial; // Token: 0x04003322 RID: 13090 public Vector2 scrollPerSecond = Vector2.zero; // Token: 0x04003323 RID: 13091 private Matrix4x4 IGIEPMGNLKA; // Token: 0x04003324 RID: 13092 private Material OKMKIICNJOA; // Token: 0x04003325 RID: 13093 private Material DAHHJNIHMFM; // Token: 0x04003326 RID: 13094 private Image LLNLJJKBJKL; // Token: 0x04003327 RID: 13095 private Material MCPHGDLCPPP; }