using System; using System.Collections; using UnityEngine; // Token: 0x020000FF RID: 255 public class AutoReposition : MonoBehaviour { // Token: 0x06003394 RID: 13204 RVA: 0x00102114 File Offset: 0x00100314 public void GDLKCCLNCIA() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.LNOMGMCEEOE()); } } // Token: 0x06003396 RID: 13206 RVA: 0x0010218C File Offset: 0x0010038C private IEnumerator ADACLLLMLCA() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x06003397 RID: 13207 RVA: 0x001021A8 File Offset: 0x001003A8 private void BJGMKLPJCPN() { this.PENFIBGNCFN = Camera.main; } // Token: 0x06003398 RID: 13208 RVA: 0x001021B8 File Offset: 0x001003B8 private bool DGBOIAOIEJF() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x06003399 RID: 13209 RVA: 0x00102200 File Offset: 0x00100400 private bool NECGKPHEFII() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 743f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1321f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 213f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x0600339A RID: 13210 RVA: 0x00102288 File Offset: 0x00100488 public void KHNCNFDNJGB() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.ADACLLLMLCA()); } } // Token: 0x0600339B RID: 13211 RVA: 0x001022A4 File Offset: 0x001004A4 private IEnumerator GCPGEKOKIDG() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x0600339C RID: 13212 RVA: 0x001022C0 File Offset: 0x001004C0 private void EOJAKFNAPJP() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1712f; this.CNADLMPMKFC = 1584f; return; } if (this.EDFDKMDDFAP()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.CNEBGLPMDHI()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.ResetMenu(); } } // Token: 0x0600339D RID: 13213 RVA: 0x0010237C File Offset: 0x0010057C private IEnumerator BLOKBINODKA() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x0600339E RID: 13214 RVA: 0x00102398 File Offset: 0x00100598 public void PAGOHDNOBDH() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.LNOMGMCEEOE()); } } // Token: 0x0600339F RID: 13215 RVA: 0x001023B4 File Offset: 0x001005B4 private bool KCNOMOFAOED() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033A0 RID: 13216 RVA: 0x001023FC File Offset: 0x001005FC private void JKMNBLDOIMB() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1677f; this.CNADLMPMKFC = 418f; return; } if (this.HOBMHBOIIEF()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.AKEOKEDIGJC()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.JKPAGLDADOD(); } } // Token: 0x060033A1 RID: 13217 RVA: 0x001024B8 File Offset: 0x001006B8 public void IEMMKAOEBLG() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.NDCBPEDBOOO()); } } // Token: 0x060033A2 RID: 13218 RVA: 0x001024D4 File Offset: 0x001006D4 private void IJPDEJFNCNH() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1742f; this.CNADLMPMKFC = 587f; return; } if (this.MBLBCOIJAHA()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.PPEGGFOPIFK()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.AAEIIJPEDOG(); } } // Token: 0x060033A3 RID: 13219 RVA: 0x00102590 File Offset: 0x00100790 private IEnumerator LKEDCMJNPMI() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033A4 RID: 13220 RVA: 0x001025AC File Offset: 0x001007AC private bool AFNJGPGICKD() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 905f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 913f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1258f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033A5 RID: 13221 RVA: 0x00102634 File Offset: 0x00100834 private void GKIJFLOEAHC() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033A6 RID: 13222 RVA: 0x00102644 File Offset: 0x00100844 private IEnumerator FDLAGLCHKIA() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033A7 RID: 13223 RVA: 0x00102660 File Offset: 0x00100860 public void AAEIIJPEDOG() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.DOKPMCNPOAF()); } } // Token: 0x060033A8 RID: 13224 RVA: 0x0010267C File Offset: 0x0010087C private IEnumerator AOHIOKIBPGM() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033A9 RID: 13225 RVA: 0x00102698 File Offset: 0x00100898 public void KDKILNMNKCB() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.DOKPMCNPOAF()); } } // Token: 0x060033AA RID: 13226 RVA: 0x001026B4 File Offset: 0x001008B4 private bool EDFDKMDDFAP() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033AB RID: 13227 RVA: 0x001026FC File Offset: 0x001008FC private void MDPIEJLKIAB() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1737f; this.CNADLMPMKFC = 842f; return; } if (this.IONMOOPKLOM()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.EEMNCPEOIMB()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.NEBFFJMINMF(); } } // Token: 0x060033AC RID: 13228 RVA: 0x001027B8 File Offset: 0x001009B8 private void PICMKDIMNHN() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 814f; this.CNADLMPMKFC = 951f; return; } if (this.FGHCKELHNII()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.KCNGOLFBIDG()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.BGLKNIFFNBJ(); } } // Token: 0x060033AD RID: 13229 RVA: 0x00102874 File Offset: 0x00100A74 public void IFFAJFHDLPP() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.NDCBPEDBOOO()); } } // Token: 0x060033AE RID: 13230 RVA: 0x00102890 File Offset: 0x00100A90 private bool FGHCKELHNII() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033AF RID: 13231 RVA: 0x001028D8 File Offset: 0x00100AD8 public void NEBFFJMINMF() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.BAFEPMFHPCE()); } } // Token: 0x060033B0 RID: 13232 RVA: 0x001028F4 File Offset: 0x00100AF4 private bool HCFMLECPENB() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033B1 RID: 13233 RVA: 0x0010293C File Offset: 0x00100B3C private void GOKDBMNMJFM() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 500f; this.CNADLMPMKFC = 725f; return; } if (this.IEGLGKBKDNF()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.KCNGOLFBIDG()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.GGIALEDFELF(); } } // Token: 0x060033B2 RID: 13234 RVA: 0x001029F8 File Offset: 0x00100BF8 private void DJAGKCMBIEJ() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033B3 RID: 13235 RVA: 0x00102A08 File Offset: 0x00100C08 public void OHKLEGHNJKL() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.AOHIOKIBPGM()); } } // Token: 0x060033B4 RID: 13236 RVA: 0x00102A24 File Offset: 0x00100C24 private void JJHPPFMOEGM() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033B5 RID: 13237 RVA: 0x00102A34 File Offset: 0x00100C34 private bool AAMEJOCOFKG() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033B6 RID: 13238 RVA: 0x00102A7C File Offset: 0x00100C7C private IEnumerator BAFEPMFHPCE() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033B7 RID: 13239 RVA: 0x00102A98 File Offset: 0x00100C98 public void BGLKNIFFNBJ() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.HJMIJLGLFLC()); } } // Token: 0x060033B8 RID: 13240 RVA: 0x00102AB4 File Offset: 0x00100CB4 private void Start() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033B9 RID: 13241 RVA: 0x00102AC4 File Offset: 0x00100CC4 private IEnumerator AHKEBOBNHOL() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033BA RID: 13242 RVA: 0x00102AE0 File Offset: 0x00100CE0 private bool CNEBGLPMDHI() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 1977f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 546f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1589f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033BB RID: 13243 RVA: 0x00102B68 File Offset: 0x00100D68 public void DOIGDNEDNOA() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.HMOODIJABKM()); } } // Token: 0x060033BC RID: 13244 RVA: 0x00102B84 File Offset: 0x00100D84 public void FOPPPGNJEKL() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.HJMIJLGLFLC()); } } // Token: 0x060033BD RID: 13245 RVA: 0x00102BA0 File Offset: 0x00100DA0 private void PPHFBMHEPDL() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033BE RID: 13246 RVA: 0x00102BB0 File Offset: 0x00100DB0 private bool IIFCNHGBOAL() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 572f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1593f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1602f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033BF RID: 13247 RVA: 0x00102C38 File Offset: 0x00100E38 public void PAHPLENNHDK() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.GFGMNADANDJ()); } } // Token: 0x060033C0 RID: 13248 RVA: 0x00102C54 File Offset: 0x00100E54 private void LMMKLDIJLGJ() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033C1 RID: 13249 RVA: 0x00102C64 File Offset: 0x00100E64 private IEnumerator LNOMGMCEEOE() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033C2 RID: 13250 RVA: 0x00102C80 File Offset: 0x00100E80 private void BGHHKKGMBFJ() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1250f; this.CNADLMPMKFC = 784f; return; } if (this.FGHCKELHNII()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.IOLEPJPIKLA()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.LNMLBGHILFP(); } } // Token: 0x060033C3 RID: 13251 RVA: 0x00102D3C File Offset: 0x00100F3C private bool KCNGOLFBIDG() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 1249f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 268f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 293f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033C4 RID: 13252 RVA: 0x00102DC4 File Offset: 0x00100FC4 private bool PLNNAHGEBNJ() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 932f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 412f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1537f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033C5 RID: 13253 RVA: 0x00102E4C File Offset: 0x0010104C private IEnumerator HJMIJLGLFLC() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033C6 RID: 13254 RVA: 0x00102E68 File Offset: 0x00101068 private bool DLPJOFHDPNO() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033C7 RID: 13255 RVA: 0x00102EB0 File Offset: 0x001010B0 private void OEKOPBDDGCK() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1004f; this.CNADLMPMKFC = 1423f; return; } if (this.HCFMLECPENB()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.DACNMNFEJBG()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.CCJKDIECMFF(); } } // Token: 0x060033C8 RID: 13256 RVA: 0x00102F6C File Offset: 0x0010116C private void DKPNPAIGBKG() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033C9 RID: 13257 RVA: 0x00102F7C File Offset: 0x0010117C private void JFKMCAIBKLF() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033CA RID: 13258 RVA: 0x00102F8C File Offset: 0x0010118C private void KCKPOOJHBNO() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033CB RID: 13259 RVA: 0x00102F9C File Offset: 0x0010119C public void ResetMenu() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.AOHIOKIBPGM()); } } // Token: 0x060033CC RID: 13260 RVA: 0x00102FB8 File Offset: 0x001011B8 public void GIELOCJEJOG() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.INDKGJJBHEI()); } } // Token: 0x060033CD RID: 13261 RVA: 0x00102FD4 File Offset: 0x001011D4 private void NPPHCIEBMFG() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033CE RID: 13262 RVA: 0x00102FE4 File Offset: 0x001011E4 private bool HOBMHBOIIEF() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033CF RID: 13263 RVA: 0x0010302C File Offset: 0x0010122C private bool MPKJGNCFBOE() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 1535f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 716f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 662f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033D0 RID: 13264 RVA: 0x001030B4 File Offset: 0x001012B4 private bool GFIEDHDFLAP() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033D1 RID: 13265 RVA: 0x001030FC File Offset: 0x001012FC public void MGJNGDOHNPK() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.PCFBJKLEFHK()); } } // Token: 0x060033D2 RID: 13266 RVA: 0x00103118 File Offset: 0x00101318 private IEnumerator NDCBPEDBOOO() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033D3 RID: 13267 RVA: 0x00103134 File Offset: 0x00101334 private bool JMBHCHGDMFI() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033D4 RID: 13268 RVA: 0x0010317C File Offset: 0x0010137C private bool IEGLGKBKDNF() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033D5 RID: 13269 RVA: 0x001031C4 File Offset: 0x001013C4 private bool PALCEGOMFLP() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 678f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1698f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 339f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033D6 RID: 13270 RVA: 0x0010324C File Offset: 0x0010144C private bool AIAGJIEDJBB() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 1057f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 562f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1617f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033D7 RID: 13271 RVA: 0x001032D4 File Offset: 0x001014D4 public void NDIFFGMDEML() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.AHKEBOBNHOL()); } } // Token: 0x060033D8 RID: 13272 RVA: 0x001032F0 File Offset: 0x001014F0 private bool FDKKBKMIMPP() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 1137f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 318f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 976f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033D9 RID: 13273 RVA: 0x00103378 File Offset: 0x00101578 private bool DACNMNFEJBG() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 727f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1762f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1836f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033DA RID: 13274 RVA: 0x00103400 File Offset: 0x00101600 private bool LNEEGIKIABN() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033DB RID: 13275 RVA: 0x00103448 File Offset: 0x00101648 private void IGDMCDLELON() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 80f; this.CNADLMPMKFC = 502f; return; } if (this.EDFDKMDDFAP()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.EEMNCPEOIMB()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.ResetMenu(); } } // Token: 0x060033DC RID: 13276 RVA: 0x00103504 File Offset: 0x00101704 private void LCAIEBEDGMJ() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1377f; this.CNADLMPMKFC = 541f; return; } if (this.ANGAMGJNJDO()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.KIMKADJJPEO()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.MGJNGDOHNPK(); } } // Token: 0x060033DD RID: 13277 RVA: 0x001035C0 File Offset: 0x001017C0 private void KFMEHMEDGBE() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033DE RID: 13278 RVA: 0x001035D0 File Offset: 0x001017D0 private bool OACKIOOBFDM() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 1735f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 832f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 569f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033DF RID: 13279 RVA: 0x00103658 File Offset: 0x00101858 private bool IDFCEAELAFL() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033E0 RID: 13280 RVA: 0x001036A0 File Offset: 0x001018A0 private bool KGMPLGAFLCH() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033E1 RID: 13281 RVA: 0x001036E8 File Offset: 0x001018E8 private IEnumerator PCFBJKLEFHK() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033E2 RID: 13282 RVA: 0x00103704 File Offset: 0x00101904 private bool NPBLNHFKCEJ() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033E3 RID: 13283 RVA: 0x0010374C File Offset: 0x0010194C private bool KIMKADJJPEO() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 1162f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1238f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 966f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033E4 RID: 13284 RVA: 0x001037D4 File Offset: 0x001019D4 private void CAMGAFPKAMM() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033E5 RID: 13285 RVA: 0x001037E4 File Offset: 0x001019E4 private IEnumerator HMOODIJABKM() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033E6 RID: 13286 RVA: 0x00103800 File Offset: 0x00101A00 private void OFDCCGLFACL() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1506f; this.CNADLMPMKFC = 1520f; return; } if (this.HOBMHBOIIEF()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.OACKIOOBFDM()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.PAHPLENNHDK(); } } // Token: 0x060033E7 RID: 13287 RVA: 0x001038BC File Offset: 0x00101ABC private bool AKEOKEDIGJC() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 472f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1372f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 975f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033E8 RID: 13288 RVA: 0x00103944 File Offset: 0x00101B44 public void CCJKDIECMFF() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.AOHIOKIBPGM()); } } // Token: 0x060033E9 RID: 13289 RVA: 0x00103960 File Offset: 0x00101B60 private void JGCIPANBMFN() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033EA RID: 13290 RVA: 0x00103970 File Offset: 0x00101B70 public void JKPAGLDADOD() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.MDEGNEPHJFM()); } } // Token: 0x060033EB RID: 13291 RVA: 0x0010398C File Offset: 0x00101B8C private bool DNFLNJKKCJG() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033EC RID: 13292 RVA: 0x001039D4 File Offset: 0x00101BD4 private bool GBMGANCDOIH() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033ED RID: 13293 RVA: 0x00103A1C File Offset: 0x00101C1C public void ACHFAAHKKKA() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.LNOMGMCEEOE()); } } // Token: 0x060033EE RID: 13294 RVA: 0x00103A38 File Offset: 0x00101C38 private bool BDMBEGFEFIJ() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 98f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1858f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 668f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033EF RID: 13295 RVA: 0x00103AC0 File Offset: 0x00101CC0 private bool CFMLLIAHBGC() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 0f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 0.017453292f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033F0 RID: 13296 RVA: 0x00103B48 File Offset: 0x00101D48 private void PPFIBIEHPDP() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 229f; this.CNADLMPMKFC = 1878f; return; } if (this.HCFMLECPENB()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.OJLAIMJENLN()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.OHKLEGHNJKL(); } } // Token: 0x060033F1 RID: 13297 RVA: 0x00103C04 File Offset: 0x00101E04 public void ENOHMDICGAO() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.AOHIOKIBPGM()); } } // Token: 0x060033F2 RID: 13298 RVA: 0x00103C20 File Offset: 0x00101E20 private bool NBFOEJDDMOE() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033F3 RID: 13299 RVA: 0x00103C68 File Offset: 0x00101E68 private bool IOLEPJPIKLA() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 570f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1721f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1490f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033F4 RID: 13300 RVA: 0x00103CF0 File Offset: 0x00101EF0 private IEnumerator INDKGJJBHEI() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033F5 RID: 13301 RVA: 0x00103D0C File Offset: 0x00101F0C private IEnumerator MDEGNEPHJFM() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033F6 RID: 13302 RVA: 0x00103D28 File Offset: 0x00101F28 private IEnumerator POHKMLMEPIJ() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033F7 RID: 13303 RVA: 0x00103D44 File Offset: 0x00101F44 private IEnumerator DOKPMCNPOAF() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033F8 RID: 13304 RVA: 0x00103D60 File Offset: 0x00101F60 private IEnumerator KJJOAONIMNB() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x060033F9 RID: 13305 RVA: 0x00103D7C File Offset: 0x00101F7C private void KNNIPCLIABI() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033FA RID: 13306 RVA: 0x00103D8C File Offset: 0x00101F8C private bool BEOKDFKFPDO() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 1263f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1887f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 432f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x060033FB RID: 13307 RVA: 0x00103E14 File Offset: 0x00102014 private bool MBLBCOIJAHA() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033FC RID: 13308 RVA: 0x00103E5C File Offset: 0x0010205C private void NOFGFHLAFBF() { this.PENFIBGNCFN = Camera.main; } // Token: 0x060033FD RID: 13309 RVA: 0x00103E6C File Offset: 0x0010206C private bool IONMOOPKLOM() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033FE RID: 13310 RVA: 0x00103EB4 File Offset: 0x001020B4 private bool LMGAHDBBJBL() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x060033FF RID: 13311 RVA: 0x00103EFC File Offset: 0x001020FC private IEnumerator JAICONNEGDB() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x06003400 RID: 13312 RVA: 0x00103F18 File Offset: 0x00102118 private bool OJLAIMJENLN() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 101f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1773f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1422f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x06003401 RID: 13313 RVA: 0x00103FA0 File Offset: 0x001021A0 private IEnumerator OCMAEIKLCOP() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x06003402 RID: 13314 RVA: 0x00103FBC File Offset: 0x001021BC public void MELJHBKIOAL() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.INDKGJJBHEI()); } } // Token: 0x06003403 RID: 13315 RVA: 0x00103FD8 File Offset: 0x001021D8 private bool ANGAMGJNJDO() { float sqrMagnitude = (this.transformToMonitor.position - this.PENFIBGNCFN.transform.position).sqrMagnitude; return sqrMagnitude > this.acceptableDistance_meters * this.acceptableDistance_meters; } // Token: 0x06003404 RID: 13316 RVA: 0x00104020 File Offset: 0x00102220 private void Update() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; return; } if (this.GBMGANCDOIH()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.CFMLLIAHBGC()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.ResetMenu(); } } // Token: 0x06003405 RID: 13317 RVA: 0x001040DC File Offset: 0x001022DC private IEnumerator AJGHEKCMAPO() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x06003406 RID: 13318 RVA: 0x001040F8 File Offset: 0x001022F8 private void JCDJNJAIEJC() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1138f; this.CNADLMPMKFC = 156f; return; } if (this.JMBHCHGDMFI()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.FDKKBKMIMPP()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.NDIFFGMDEML(); } } // Token: 0x06003407 RID: 13319 RVA: 0x001041B4 File Offset: 0x001023B4 private bool PPEGGFOPIFK() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 136f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 349f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 944f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x06003408 RID: 13320 RVA: 0x0010423C File Offset: 0x0010243C public void GGIALEDFELF() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.GFGMNADANDJ()); } } // Token: 0x06003409 RID: 13321 RVA: 0x00104258 File Offset: 0x00102458 private void OKIAGLLHGGF() { this.PENFIBGNCFN = Camera.main; } // Token: 0x0600340A RID: 13322 RVA: 0x00104268 File Offset: 0x00102468 private void ODEGJOENAGN() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 318f; this.CNADLMPMKFC = 1829f; return; } if (this.ANGAMGJNJDO()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.BEOKDFKFPDO()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.ANPPKFIJOJK(); } } // Token: 0x0600340B RID: 13323 RVA: 0x00104324 File Offset: 0x00102524 private void GGHNBMLMNOP() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 115f; this.CNADLMPMKFC = 21f; return; } if (this.FGHCKELHNII()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.IOLEPJPIKLA()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.PAGOHDNOBDH(); } } // Token: 0x0600340C RID: 13324 RVA: 0x001043E0 File Offset: 0x001025E0 public void LNMLBGHILFP() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.LNOMGMCEEOE()); } } // Token: 0x0600340D RID: 13325 RVA: 0x001043FC File Offset: 0x001025FC public void ANPPKFIJOJK() { if (!this.KMHCECHFHLF) { base.StartCoroutine(this.BAFEPMFHPCE()); } } // Token: 0x0600340E RID: 13326 RVA: 0x00104418 File Offset: 0x00102618 private void LHJGNOODHPG() { this.PENFIBGNCFN = Camera.main; } // Token: 0x0600340F RID: 13327 RVA: 0x00104428 File Offset: 0x00102628 private void IOGPMJADEIB() { bool flag = false; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1065f; this.CNADLMPMKFC = 142f; return; } if (this.HOBMHBOIIEF()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.AIAGJIEDJBB()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.ACHFAAHKKKA(); } } // Token: 0x06003410 RID: 13328 RVA: 0x001044E4 File Offset: 0x001026E4 private bool AAGIMICNNMK() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 81f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1998f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1036f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x06003411 RID: 13329 RVA: 0x0010456C File Offset: 0x0010276C private bool EEMNCPEOIMB() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 456f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 1210f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 1099f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x06003412 RID: 13330 RVA: 0x001045F4 File Offset: 0x001027F4 private IEnumerator GFGMNADANDJ() { this.KMHCECHFHLF = true; this.PLGKJIHOKOP = 0f; this.CNADLMPMKFC = 0f; if (this.OnResetRequired != null) { yield return this.OnResetRequired; } if (this.useDefaultPositioning) { Transform transform = SingletonMonoBehaviour.NCKMBFBMBFM.KPGFMCHFLBM.transform; Vector3 forward = transform.forward; forward.y = 0f; forward.Normalize(); Vector3 vector = transform.position + forward * this.defaultDistFromCamera; vector.y = transform.position.y + this.defaultHeightOffset; this.transformToMonitor.position = vector; this.transformToMonitor.rotation = Quaternion.LookRotation(forward); } this.KMHCECHFHLF = false; yield break; } // Token: 0x06003413 RID: 13331 RVA: 0x00104610 File Offset: 0x00102810 private void NGPDOKMBMBA() { this.PENFIBGNCFN = Camera.main; } // Token: 0x06003414 RID: 13332 RVA: 0x00104620 File Offset: 0x00102820 private bool DMJGNOHGCOP() { Vector3 forward = this.PENFIBGNCFN.transform.forward; forward.y = 536f; forward.Normalize(); Vector3 vector = this.transformToMonitor.position - this.PENFIBGNCFN.transform.position; vector.y = 367f; vector.Normalize(); float num = Mathf.Acos(Vector3.Dot(forward, vector)); float num2 = 287f * this.acceptableLookAwayAngle_degrees; return Mathf.Abs(num) > num2; } // Token: 0x06003415 RID: 13333 RVA: 0x001046A8 File Offset: 0x001028A8 private void JNFIFBPPNPJ() { bool flag = true; if (!this.KMHCECHFHLF && this.CustomShouldRunLogic != null) { flag = this.CustomShouldRunLogic(); } if (this.KMHCECHFHLF || !flag) { this.PLGKJIHOKOP = 1888f; this.CNADLMPMKFC = 954f; return; } if (this.IONMOOPKLOM()) { this.PLGKJIHOKOP += Time.deltaTime; } if (this.AKEOKEDIGJC()) { this.CNADLMPMKFC += Time.deltaTime; } if (this.PLGKJIHOKOP > this.timeBeforeResetForDistance || this.CNADLMPMKFC > this.timeBeforeResetForAngle) { this.ResetMenu(); } } // Token: 0x040006B6 RID: 1718 public float acceptableDistance_meters = 1.5f; // Token: 0x040006B7 RID: 1719 public float acceptableLookAwayAngle_degrees = 60f; // Token: 0x040006B8 RID: 1720 public float timeBeforeResetForDistance = 0.5f; // Token: 0x040006B9 RID: 1721 public float timeBeforeResetForAngle = 2f; // Token: 0x040006BA RID: 1722 public Transform transformToMonitor; // Token: 0x040006BB RID: 1723 [SerializeField] private bool useDefaultPositioning = true; // Token: 0x040006BC RID: 1724 [SerializeField] private float defaultDistFromCamera = 0.75f; // Token: 0x040006BD RID: 1725 [SerializeField] private float defaultHeightOffset = -0.1f; // Token: 0x040006BE RID: 1726 public IEnumerator OnResetRequired; // Token: 0x040006BF RID: 1727 public AutoReposition.AJMKKKLFJEE CustomShouldRunLogic; // Token: 0x040006C0 RID: 1728 private Camera PENFIBGNCFN; // Token: 0x040006C1 RID: 1729 private float PLGKJIHOKOP; // Token: 0x040006C2 RID: 1730 private float CNADLMPMKFC; // Token: 0x040006C3 RID: 1731 private bool KMHCECHFHLF; // Token: 0x02000100 RID: 256 // (Invoke) Token: 0x06003417 RID: 13335 public delegate bool AJMKKKLFJEE(); }