using System; using UnityEngine; using UnityEngine.Serialization; // Token: 0x02000F27 RID: 3879 public class WhiteboardPen : DrawingBase { // Token: 0x0602042D RID: 132141 RVA: 0x008C3988 File Offset: 0x008C1B88 public Color JDHKMJDADCD() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x0602042E RID: 132142 RVA: 0x008C39AC File Offset: 0x008C1BAC private void GCNDAELJKLI() { if (this.meshRenderer != null) { this.meshRenderer.material.SetColor("from_player", this.OPGFNNIHEPI()); this.meshRenderer.material.SetColor("SystemInfo", this.OFDHJPFAABD()); } if (base.EELJGGKEAGC != null) { base.EELJGGKEAGC.SetColor("Config", this.JDHKMJDADCD()); } } // Token: 0x0602042F RID: 132143 RVA: 0x008C3A28 File Offset: 0x008C1C28 private void OLLOAPMOOHE() { if (base.BKDFLNGCINH.HFPHLDMNLGK != null && base.BKDFLNGCINH.HFPHLDMNLGK.BKPAAFDNHEC() != null) { this.IICOBHCBMBC(base.BKDFLNGCINH.HFPHLDMNLGK.BPIFMCOFFLC.Value); } this.GCNDAELJKLI(); } // Token: 0x06020430 RID: 132144 RVA: 0x008C3A8C File Offset: 0x008C1C8C protected virtual void PBCGMHKELND() { base.Awake(); this.OHCLIDCKLEC = new LHLLJPPCDKA(this, "Nouns", this.defaultPenColor, IKCAJLLAFML.AUTHORITY, new Action(this.HHCPGMOOELJ)); if (this.radiusCurve == null) { this.radiusCurve = AnimationCurve.Linear(1390f, this.EDDLCHNNMDL(), 1816f, this.NEIPENGLMGD()); } } // Token: 0x06020431 RID: 132145 RVA: 0x008C3AF0 File Offset: 0x008C1CF0 protected float NEIPENGLMGD() { if (!(base.MPDOKKGLMOI != null)) { return this._strokeRadius; } if (this.OCNMFLBPPBL < 822f) { return this._strokeRadius; } return this.radiusCurve.Evaluate(this.OCNMFLBPPBL) * this._strokeRadius; } // Token: 0x06020432 RID: 132146 RVA: 0x008C3B44 File Offset: 0x008C1D44 public Color HODIHJNDLHN() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x06020433 RID: 132147 RVA: 0x008C3B68 File Offset: 0x008C1D68 private void LOOEEJPJAJF() { if (this.meshRenderer != null) { this.meshRenderer.material.SetColor("...", this.OFDHJPFAABD()); this.meshRenderer.material.SetColor("Checklist Complete!", this.DFNAMENBCEM()); } if (base.EELJGGKEAGC != null) { base.EELJGGKEAGC.SetColor("Header - '{0}': '{1}'", this.HPNCLAPONBF()); } } // Token: 0x06020434 RID: 132148 RVA: 0x008C3BE4 File Offset: 0x008C1DE4 private void ANAGMGEAKOG() { Gizmos.color = this.OFDHJPFAABD(); Gizmos.DrawSphere(base.ELKDPLBCCLC.position, 1998f); } // Token: 0x06020435 RID: 132149 RVA: 0x008C3C08 File Offset: 0x008C1E08 protected virtual EFELJPPGHNP DEMAJJODKMP() { Vector2 vector = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position); Vector2 vector2 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + base.MPDOKKGLMOI.EKPLLJIKBMA * this.HFHKNAMEIMG + -base.MPDOKKGLMOI.NHEMMACNCLL() * this.GNDBGLLPKEB()); Vector2 vector3 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + base.MPDOKKGLMOI.EKPLLJIKBMA * this.HFHKNAMEIMG + base.MPDOKKGLMOI.MHDMLHKGGHN() * this.JJBBLFPMAFP()); Vector2 vector4 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + -base.MPDOKKGLMOI.EKPLLJIKBMA * this.EDDLCHNNMDL() + base.MPDOKKGLMOI.NHEMMACNCLL() * this.HFHKNAMEIMG); Vector2 vector5 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + -base.MPDOKKGLMOI.EKPLLJIKBMA * this.NEIPENGLMGD() + -base.MPDOKKGLMOI.JJGKFBIEFPP * this.HFHKNAMEIMG); return new EFELJPPGHNP(vector, vector3, vector2, vector5, vector4); } // Token: 0x06020436 RID: 132150 RVA: 0x008C3DA0 File Offset: 0x008C1FA0 public Color DFNAMENBCEM() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x17000EEA RID: 3818 // (get) Token: 0x06020453 RID: 132179 RVA: 0x008C4910 File Offset: 0x008C2B10 // (set) Token: 0x06020437 RID: 132151 RVA: 0x008C3DC4 File Offset: 0x008C1FC4 public Color BAGANGOCDEI { get { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } private set { this.OHCLIDCKLEC.MEAINJPIECA(value); } } // Token: 0x06020438 RID: 132152 RVA: 0x008C3DD4 File Offset: 0x008C1FD4 protected override EFELJPPGHNP KEEJPMCELJH() { Vector2 vector = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position); Vector2 vector2 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + base.MPDOKKGLMOI.EKPLLJIKBMA * this.HFHKNAMEIMG + -base.MPDOKKGLMOI.JJGKFBIEFPP * this.HFHKNAMEIMG); Vector2 vector3 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + base.MPDOKKGLMOI.EKPLLJIKBMA * this.HFHKNAMEIMG + base.MPDOKKGLMOI.JJGKFBIEFPP * this.HFHKNAMEIMG); Vector2 vector4 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + -base.MPDOKKGLMOI.EKPLLJIKBMA * this.HFHKNAMEIMG + base.MPDOKKGLMOI.JJGKFBIEFPP * this.HFHKNAMEIMG); Vector2 vector5 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + -base.MPDOKKGLMOI.EKPLLJIKBMA * this.HFHKNAMEIMG + -base.MPDOKKGLMOI.JJGKFBIEFPP * this.HFHKNAMEIMG); return new EFELJPPGHNP(vector, vector3, vector2, vector5, vector4); } // Token: 0x06020439 RID: 132153 RVA: 0x008C3F6C File Offset: 0x008C216C private void DAGOKCPEGFE() { Gizmos.color = this.DPAOOFJHCHJ(); Gizmos.DrawSphere(base.ELKDPLBCCLC.position, 1793f); } // Token: 0x0602043A RID: 132154 RVA: 0x008C3F90 File Offset: 0x008C2190 public Color MAGAOEEACMG() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x0602043B RID: 132155 RVA: 0x008C3FB4 File Offset: 0x008C21B4 private void JAGJAIFODLK() { if (this.meshRenderer != null) { this.meshRenderer.material.SetColor("_Green_Col", this.BAGANGOCDEI); this.meshRenderer.material.SetColor("_Base_Col", this.BAGANGOCDEI); } if (base.EELJGGKEAGC != null) { base.EELJGGKEAGC.SetColor("_Color", this.BAGANGOCDEI); } } // Token: 0x0602043C RID: 132156 RVA: 0x008C4030 File Offset: 0x008C2230 protected float GNDBGLLPKEB() { if (!(base.MPDOKKGLMOI != null)) { return this._strokeRadius; } if (this.OCNMFLBPPBL < 1775f) { return this._strokeRadius; } return this.radiusCurve.Evaluate(this.OCNMFLBPPBL) * this._strokeRadius; } // Token: 0x0602043D RID: 132157 RVA: 0x008C4084 File Offset: 0x008C2284 protected float EDDLCHNNMDL() { if (!(base.MPDOKKGLMOI != null)) { return this._strokeRadius; } if (this.OCNMFLBPPBL < 1896f) { return this._strokeRadius; } return this.radiusCurve.Evaluate(this.OCNMFLBPPBL) * this._strokeRadius; } // Token: 0x0602043E RID: 132158 RVA: 0x008C40D8 File Offset: 0x008C22D8 protected float JJJAADJDMML() { if (!(base.MPDOKKGLMOI != null)) { return this._strokeRadius; } if (this.OCNMFLBPPBL < 1849f) { return this._strokeRadius; } return this.radiusCurve.Evaluate(this.OCNMFLBPPBL) * this._strokeRadius; } // Token: 0x0602043F RID: 132159 RVA: 0x008C412C File Offset: 0x008C232C private void LHLLCOJMMOF() { Gizmos.color = this.BAGANGOCDEI; Gizmos.DrawSphere(base.ELKDPLBCCLC.position, 1606f); } // Token: 0x06020440 RID: 132160 RVA: 0x008C4150 File Offset: 0x008C2350 public Color LJEDJEAJJJM() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x06020441 RID: 132161 RVA: 0x008C4174 File Offset: 0x008C2374 private void PAKJBBDBHBI() { if (this.meshRenderer != null) { this.meshRenderer.material.SetColor("Campaign Medium", this.JDHKMJDADCD()); this.meshRenderer.material.SetColor("The 'Oculus App Id ({0})' field in 'Oculus Platform/Edit Settings' is clobbering appId ({1}) that you passed in to Platform.Core.Init. You should only specify this in one place. We recommend the menu location.", this.DPAOOFJHCHJ()); } if (base.EELJGGKEAGC != null) { base.EELJGGKEAGC.SetColor("Summer Sale", this.BAGANGOCDEI); } } // Token: 0x06020442 RID: 132162 RVA: 0x008C41F0 File Offset: 0x008C23F0 protected override void Awake() { base.Awake(); this.OHCLIDCKLEC = new LHLLJPPCDKA(this, "PC", this.defaultPenColor, IKCAJLLAFML.MASTER, new Action(this.JAGJAIFODLK)); if (this.radiusCurve == null) { this.radiusCurve = AnimationCurve.Linear(0f, this.HFHKNAMEIMG, 0.1f, this.HFHKNAMEIMG); } } // Token: 0x06020443 RID: 132163 RVA: 0x008C4254 File Offset: 0x008C2454 private void GOEDBKOCMLK() { if (this.meshRenderer != null) { this.meshRenderer.material.SetColor("GFJDHECAPJD", this.DFNAMENBCEM()); this.meshRenderer.material.SetColor("VR rendering requires one of the following device types: (", this.HPNCLAPONBF()); } if (base.EELJGGKEAGC != null) { base.EELJGGKEAGC.SetColor("z", this.DPAOOFJHCHJ()); } } // Token: 0x06020444 RID: 132164 RVA: 0x008C42D0 File Offset: 0x008C24D0 private void MJKLAMLNDDP() { Gizmos.color = this.DPAOOFJHCHJ(); Gizmos.DrawSphere(base.ELKDPLBCCLC.position, 198f); } // Token: 0x06020445 RID: 132165 RVA: 0x008C42F4 File Offset: 0x008C24F4 private void IICOBHCBMBC(Color NOBAPCOKFIL) { this.OHCLIDCKLEC.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x06020446 RID: 132166 RVA: 0x008C4304 File Offset: 0x008C2504 protected virtual void INGMCGGJGMA() { base.Awake(); this.OHCLIDCKLEC = new LHLLJPPCDKA(this, " CAPTURED BASE ", this.defaultPenColor, IKCAJLLAFML.MASTER, new Action(this.PAKJBBDBHBI)); if (this.radiusCurve == null) { this.radiusCurve = AnimationCurve.Linear(272f, this.JJBBLFPMAFP(), 18f, this.JJBBLFPMAFP()); } } // Token: 0x06020447 RID: 132167 RVA: 0x008C4368 File Offset: 0x008C2568 protected virtual EFELJPPGHNP AMOKLBLHDNH() { Vector2 vector = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position); Vector2 vector2 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + base.MPDOKKGLMOI.HNHCFEHLDJH() * this.FBFDHHFEFBA() + -base.MPDOKKGLMOI.MHDMLHKGGHN() * this.GNDBGLLPKEB()); Vector2 vector3 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + base.MPDOKKGLMOI.EKPLLJIKBMA * this.FBFDHHFEFBA() + base.MPDOKKGLMOI.MHDMLHKGGHN() * this.GNDBGLLPKEB()); Vector2 vector4 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + -base.MPDOKKGLMOI.EKPLLJIKBMA * this.NEIPENGLMGD() + base.MPDOKKGLMOI.MHDMLHKGGHN() * this.NEIPENGLMGD()); Vector2 vector5 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + -base.MPDOKKGLMOI.EKPLLJIKBMA * this.HFHKNAMEIMG + -base.MPDOKKGLMOI.NHEMMACNCLL() * this.JJJAADJDMML()); return new EFELJPPGHNP(vector, vector3, vector2, vector5, vector4); } // Token: 0x06020448 RID: 132168 RVA: 0x008C4500 File Offset: 0x008C2700 protected float JJBBLFPMAFP() { if (!(base.MPDOKKGLMOI != null)) { return this._strokeRadius; } if (this.OCNMFLBPPBL < 822f) { return this._strokeRadius; } return this.radiusCurve.Evaluate(this.OCNMFLBPPBL) * this._strokeRadius; } // Token: 0x06020449 RID: 132169 RVA: 0x008C4554 File Offset: 0x008C2754 protected virtual void JFFLHAMMGAH() { base.Awake(); this.OHCLIDCKLEC = new LHLLJPPCDKA(this, "\" on viewID ", this.defaultPenColor, IKCAJLLAFML.AUTHORITY, new Action(this.GOEDBKOCMLK)); if (this.radiusCurve == null) { this.radiusCurve = AnimationCurve.Linear(736f, this.JJBBLFPMAFP(), 101f, this.GNDBGLLPKEB()); } } // Token: 0x0602044A RID: 132170 RVA: 0x008C45B8 File Offset: 0x008C27B8 private void PFKPNDIOGDF() { Gizmos.color = this.HODIHJNDLHN(); Gizmos.DrawSphere(base.ELKDPLBCCLC.position, 625f); } // Token: 0x17000EEB RID: 3819 // (get) Token: 0x0602044B RID: 132171 RVA: 0x008C45DC File Offset: 0x008C27DC protected float HFHKNAMEIMG { get { if (!(base.MPDOKKGLMOI != null)) { return this._strokeRadius; } if (this.OCNMFLBPPBL < 0f) { return this._strokeRadius; } return this.radiusCurve.Evaluate(this.OCNMFLBPPBL) * this._strokeRadius; } } // Token: 0x0602044C RID: 132172 RVA: 0x008C4630 File Offset: 0x008C2830 protected float FBFDHHFEFBA() { if (!(base.MPDOKKGLMOI != null)) { return this._strokeRadius; } if (this.OCNMFLBPPBL < 1051f) { return this._strokeRadius; } return this.radiusCurve.Evaluate(this.OCNMFLBPPBL) * this._strokeRadius; } // Token: 0x0602044D RID: 132173 RVA: 0x008C4684 File Offset: 0x008C2884 private void HHCPGMOOELJ() { if (this.meshRenderer != null) { this.meshRenderer.material.SetColor("[ACTk] WallHack Detector: already running!", this.JDHKMJDADCD()); this.meshRenderer.material.SetColor("WASD/Arrow Keys to translate the camera\nRight mouse click to rotate the camera\nLeft mouse click for standard interactions.\n", this.HODIHJNDLHN()); } if (base.EELJGGKEAGC != null) { base.EELJGGKEAGC.SetColor("shake", this.MAGAOEEACMG()); } } // Token: 0x0602044E RID: 132174 RVA: 0x008C4700 File Offset: 0x008C2900 public Color OPGFNNIHEPI() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x0602044F RID: 132175 RVA: 0x008C4724 File Offset: 0x008C2924 public Color HPNCLAPONBF() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x06020451 RID: 132177 RVA: 0x008C4768 File Offset: 0x008C2968 protected virtual EFELJPPGHNP NOACGGBMHCA() { Vector2 vector = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position); Vector2 vector2 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + base.MPDOKKGLMOI.HNHCFEHLDJH() * this.EDDLCHNNMDL() + -base.MPDOKKGLMOI.CPJIIOMOAFA() * this.GNDBGLLPKEB()); Vector2 vector3 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + base.MPDOKKGLMOI.EKPLLJIKBMA * this.FBFDHHFEFBA() + base.MPDOKKGLMOI.NHEMMACNCLL() * this.EDDLCHNNMDL()); Vector2 vector4 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + -base.MPDOKKGLMOI.HNHCFEHLDJH() * this.JJBBLFPMAFP() + base.MPDOKKGLMOI.JJGKFBIEFPP * this.HFHKNAMEIMG); Vector2 vector5 = base.MPDOKKGLMOI.WorldToNormalizedBoardPos(base.ELKDPLBCCLC.position + -base.MPDOKKGLMOI.EKPLLJIKBMA * this.GNDBGLLPKEB() + -base.MPDOKKGLMOI.JJGKFBIEFPP * this.HFHKNAMEIMG); return new EFELJPPGHNP(vector, vector3, vector2, vector5, vector4); } // Token: 0x06020452 RID: 132178 RVA: 0x008C4900 File Offset: 0x008C2B00 private void CHGIICJGJAN(Color NOBAPCOKFIL) { this.OHCLIDCKLEC.MEAINJPIECA(NOBAPCOKFIL); } // Token: 0x06020454 RID: 132180 RVA: 0x008C4934 File Offset: 0x008C2B34 private void Start() { if (base.BKDFLNGCINH.HFPHLDMNLGK != null && base.BKDFLNGCINH.HFPHLDMNLGK.BPIFMCOFFLC != null) { this.BAGANGOCDEI = base.BKDFLNGCINH.HFPHLDMNLGK.BPIFMCOFFLC.Value; } this.JAGJAIFODLK(); } // Token: 0x06020455 RID: 132181 RVA: 0x008C4998 File Offset: 0x008C2B98 private void OnDrawGizmos() { Gizmos.color = this.BAGANGOCDEI; Gizmos.DrawSphere(base.ELKDPLBCCLC.position, 0.01f); } // Token: 0x06020456 RID: 132182 RVA: 0x008C49BC File Offset: 0x008C2BBC public Color OFDHJPFAABD() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x06020457 RID: 132183 RVA: 0x008C49E0 File Offset: 0x008C2BE0 private void FLIBGBGHKCG() { if (base.BKDFLNGCINH.HFPHLDMNLGK != null && base.BKDFLNGCINH.HFPHLDMNLGK.KEBAEBBDLHG() != null) { this.CHGIICJGJAN(base.BKDFLNGCINH.HFPHLDMNLGK.KEBAEBBDLHG().Value); } this.JAGJAIFODLK(); } // Token: 0x06020458 RID: 132184 RVA: 0x008C4A44 File Offset: 0x008C2C44 public Color DPAOOFJHCHJ() { return (this.OHCLIDCKLEC == null) ? this.defaultPenColor : this.OHCLIDCKLEC.CPIBGJLHLBL(); } // Token: 0x0400538B RID: 21387 [SerializeField] private AnimationCurve radiusCurve; // Token: 0x0400538C RID: 21388 private LHLLJPPCDKA OHCLIDCKLEC; // Token: 0x0400538D RID: 21389 [SerializeField] [FormerlySerializedAs("PenColor")] private Color defaultPenColor = Color.blue; // Token: 0x0400538E RID: 21390 [SerializeField] private Renderer meshRenderer; // Token: 0x0400538F RID: 21391 [SerializeField] private float _strokeRadius = 0.005f; }