664 lines
20 KiB
C#
664 lines
20 KiB
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.Threading;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000599 RID: 1433
|
|
public class SteamVR_LaserPointer : MonoBehaviour
|
|
{
|
|
// Token: 0x0600E2EC RID: 58092 RVA: 0x00437270 File Offset: 0x00435470
|
|
private void NIBGLHFHJLJ()
|
|
{
|
|
if (!this.HNEHOMGLBAE)
|
|
{
|
|
this.HNEHOMGLBAE = true;
|
|
base.transform.GetChild(0).gameObject.SetActive(true);
|
|
}
|
|
float num = 471f;
|
|
SteamVR_TrackedController component = base.GetComponent<SteamVR_TrackedController>();
|
|
Ray ray = new Ray(base.transform.position, base.transform.forward);
|
|
RaycastHit raycastHit;
|
|
bool flag = Physics.Raycast(ray, out raycastHit);
|
|
if (this.HLHBHKNIKIK && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb.PFKMOBGLKNK = 489f;
|
|
lcoogmmgnpb.BMBCEIIJBDI = 1U;
|
|
lcoogmmgnpb.MMEBLCBANIL = this.HLHBHKNIKIK;
|
|
this.OnPointerOut(lcoogmmgnpb);
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb2 = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb2.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb2.PFKMOBGLKNK = raycastHit.distance;
|
|
lcoogmmgnpb2.BMBCEIIJBDI = 1U;
|
|
lcoogmmgnpb2.MMEBLCBANIL = raycastHit.transform;
|
|
this.JBEJGELGGHG(lcoogmmgnpb2);
|
|
this.HLHBHKNIKIK = raycastHit.transform;
|
|
}
|
|
if (!flag)
|
|
{
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && raycastHit.distance < 1121f)
|
|
{
|
|
num = raycastHit.distance;
|
|
}
|
|
if (component != null && component.triggerPressed)
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness * 410f, this.thickness * 661f, num);
|
|
}
|
|
else
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness, this.thickness, num);
|
|
}
|
|
this.pointer.transform.localPosition = new Vector3(661f, 1803f, num / 1675f);
|
|
}
|
|
|
|
// Token: 0x0600E2ED RID: 58093 RVA: 0x0043748C File Offset: 0x0043568C
|
|
public virtual void FJILFGJDKHE(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.IFEHAEPDDBB != null)
|
|
{
|
|
this.IFEHAEPDDBB(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x14000043 RID: 67
|
|
// (add) Token: 0x0600E2FC RID: 58108 RVA: 0x00437ED8 File Offset: 0x004360D8
|
|
// (remove) Token: 0x0600E2EE RID: 58094 RVA: 0x004374A8 File Offset: 0x004356A8
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event CLFHBDOFNLP IFEHAEPDDBB;
|
|
|
|
// Token: 0x0600E2EF RID: 58095 RVA: 0x004374E0 File Offset: 0x004356E0
|
|
public void DBKAKFCPKLM(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.NONCKCDJDPM;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.NONCKCDJDPM, (CLFHBDOFNLP)Delegate.Combine(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E2F0 RID: 58096 RVA: 0x00437518 File Offset: 0x00435718
|
|
private void AHHEENEFAPI()
|
|
{
|
|
if (!this.HNEHOMGLBAE)
|
|
{
|
|
this.HNEHOMGLBAE = false;
|
|
base.transform.GetChild(0).gameObject.SetActive(true);
|
|
}
|
|
float num = 1350f;
|
|
SteamVR_TrackedController component = base.GetComponent<SteamVR_TrackedController>();
|
|
Ray ray = new Ray(base.transform.position, base.transform.forward);
|
|
RaycastHit raycastHit;
|
|
bool flag = Physics.Raycast(ray, out raycastHit);
|
|
if (this.HLHBHKNIKIK && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb.PFKMOBGLKNK = 1589f;
|
|
lcoogmmgnpb.BMBCEIIJBDI = 0U;
|
|
lcoogmmgnpb.MMEBLCBANIL = this.HLHBHKNIKIK;
|
|
this.FJILFGJDKHE(lcoogmmgnpb);
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb2 = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb2.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb2.PFKMOBGLKNK = raycastHit.distance;
|
|
lcoogmmgnpb2.BMBCEIIJBDI = 0U;
|
|
lcoogmmgnpb2.MMEBLCBANIL = raycastHit.transform;
|
|
this.JNDGPABAHFB(lcoogmmgnpb2);
|
|
this.HLHBHKNIKIK = raycastHit.transform;
|
|
}
|
|
if (!flag)
|
|
{
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && raycastHit.distance < 1806f)
|
|
{
|
|
num = raycastHit.distance;
|
|
}
|
|
if (component != null && component.triggerPressed)
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness * 1182f, this.thickness * 203f, num);
|
|
}
|
|
else
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness, this.thickness, num);
|
|
}
|
|
this.pointer.transform.localPosition = new Vector3(767f, 70f, num / 1613f);
|
|
}
|
|
|
|
// Token: 0x0600E2F1 RID: 58097 RVA: 0x00437734 File Offset: 0x00435934
|
|
public virtual void AJNDEFIHMJI(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.IFEHAEPDDBB != null)
|
|
{
|
|
this.IFEHAEPDDBB(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E2F2 RID: 58098 RVA: 0x00437750 File Offset: 0x00435950
|
|
public void NIHHIKMDIED(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.IFEHAEPDDBB;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.IFEHAEPDDBB, (CLFHBDOFNLP)Delegate.Combine(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E2F3 RID: 58099 RVA: 0x00437788 File Offset: 0x00435988
|
|
public virtual void CGNNAJLOLKE(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.IFEHAEPDDBB != null)
|
|
{
|
|
this.IFEHAEPDDBB(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E2F4 RID: 58100 RVA: 0x004377A4 File Offset: 0x004359A4
|
|
public void LOHDFDLPPAC(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.NONCKCDJDPM;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.NONCKCDJDPM, (CLFHBDOFNLP)Delegate.Combine(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E2F5 RID: 58101 RVA: 0x004377DC File Offset: 0x004359DC
|
|
public virtual void OnPointerIn(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.NONCKCDJDPM != null)
|
|
{
|
|
this.NONCKCDJDPM(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E2F6 RID: 58102 RVA: 0x004377F8 File Offset: 0x004359F8
|
|
private void Update()
|
|
{
|
|
if (!this.HNEHOMGLBAE)
|
|
{
|
|
this.HNEHOMGLBAE = true;
|
|
base.transform.GetChild(0).gameObject.SetActive(true);
|
|
}
|
|
float num = 100f;
|
|
SteamVR_TrackedController component = base.GetComponent<SteamVR_TrackedController>();
|
|
Ray ray = new Ray(base.transform.position, base.transform.forward);
|
|
RaycastHit raycastHit;
|
|
bool flag = Physics.Raycast(ray, out raycastHit);
|
|
if (this.HLHBHKNIKIK && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb.PFKMOBGLKNK = 0f;
|
|
lcoogmmgnpb.BMBCEIIJBDI = 0U;
|
|
lcoogmmgnpb.MMEBLCBANIL = this.HLHBHKNIKIK;
|
|
this.OnPointerOut(lcoogmmgnpb);
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb2 = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb2.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb2.PFKMOBGLKNK = raycastHit.distance;
|
|
lcoogmmgnpb2.BMBCEIIJBDI = 0U;
|
|
lcoogmmgnpb2.MMEBLCBANIL = raycastHit.transform;
|
|
this.OnPointerIn(lcoogmmgnpb2);
|
|
this.HLHBHKNIKIK = raycastHit.transform;
|
|
}
|
|
if (!flag)
|
|
{
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && raycastHit.distance < 100f)
|
|
{
|
|
num = raycastHit.distance;
|
|
}
|
|
if (component != null && component.triggerPressed)
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness * 5f, this.thickness * 5f, num);
|
|
}
|
|
else
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness, this.thickness, num);
|
|
}
|
|
this.pointer.transform.localPosition = new Vector3(0f, 0f, num / 2f);
|
|
}
|
|
|
|
// Token: 0x0600E2F7 RID: 58103 RVA: 0x00437A14 File Offset: 0x00435C14
|
|
private void JGFOPLONGBH()
|
|
{
|
|
if (!this.HNEHOMGLBAE)
|
|
{
|
|
this.HNEHOMGLBAE = false;
|
|
base.transform.GetChild(0).gameObject.SetActive(false);
|
|
}
|
|
float num = 1772f;
|
|
SteamVR_TrackedController component = base.GetComponent<SteamVR_TrackedController>();
|
|
Ray ray = new Ray(base.transform.position, base.transform.forward);
|
|
RaycastHit raycastHit;
|
|
bool flag = Physics.Raycast(ray, out raycastHit);
|
|
if (this.HLHBHKNIKIK && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb.PFKMOBGLKNK = 1393f;
|
|
lcoogmmgnpb.BMBCEIIJBDI = 0U;
|
|
lcoogmmgnpb.MMEBLCBANIL = this.HLHBHKNIKIK;
|
|
this.OnPointerOut(lcoogmmgnpb);
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb2 = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb2.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb2.PFKMOBGLKNK = raycastHit.distance;
|
|
lcoogmmgnpb2.BMBCEIIJBDI = 0U;
|
|
lcoogmmgnpb2.MMEBLCBANIL = raycastHit.transform;
|
|
this.AEPEMAFNNBE(lcoogmmgnpb2);
|
|
this.HLHBHKNIKIK = raycastHit.transform;
|
|
}
|
|
if (!flag)
|
|
{
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && raycastHit.distance < 748f)
|
|
{
|
|
num = raycastHit.distance;
|
|
}
|
|
if (component != null && component.triggerPressed)
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness * 1028f, this.thickness * 1380f, num);
|
|
}
|
|
else
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness, this.thickness, num);
|
|
}
|
|
this.pointer.transform.localPosition = new Vector3(83f, 360f, num / 1047f);
|
|
}
|
|
|
|
// Token: 0x0600E2F8 RID: 58104 RVA: 0x00437C30 File Offset: 0x00435E30
|
|
public void OBEHIKOENOO(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.IFEHAEPDDBB;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.IFEHAEPDDBB, (CLFHBDOFNLP)Delegate.Remove(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x14000042 RID: 66
|
|
// (add) Token: 0x0600E2F9 RID: 58105 RVA: 0x00437C68 File Offset: 0x00435E68
|
|
// (remove) Token: 0x0600E309 RID: 58121 RVA: 0x00438124 File Offset: 0x00436324
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event CLFHBDOFNLP NONCKCDJDPM;
|
|
|
|
// Token: 0x0600E2FA RID: 58106 RVA: 0x00437CA0 File Offset: 0x00435EA0
|
|
private void NKKKHBAGEJH()
|
|
{
|
|
if (!this.HNEHOMGLBAE)
|
|
{
|
|
this.HNEHOMGLBAE = false;
|
|
base.transform.GetChild(0).gameObject.SetActive(false);
|
|
}
|
|
float num = 335f;
|
|
SteamVR_TrackedController component = base.GetComponent<SteamVR_TrackedController>();
|
|
Ray ray = new Ray(base.transform.position, base.transform.forward);
|
|
RaycastHit raycastHit;
|
|
bool flag = Physics.Raycast(ray, out raycastHit);
|
|
if (this.HLHBHKNIKIK && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb.PFKMOBGLKNK = 1609f;
|
|
lcoogmmgnpb.BMBCEIIJBDI = 1U;
|
|
lcoogmmgnpb.MMEBLCBANIL = this.HLHBHKNIKIK;
|
|
this.EAKKHNPAIGK(lcoogmmgnpb);
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && this.HLHBHKNIKIK != raycastHit.transform)
|
|
{
|
|
LCOOGMMGNPB lcoogmmgnpb2 = default(LCOOGMMGNPB);
|
|
if (component != null)
|
|
{
|
|
lcoogmmgnpb2.KEAODBLBIDH = component.controllerIndex;
|
|
}
|
|
lcoogmmgnpb2.PFKMOBGLKNK = raycastHit.distance;
|
|
lcoogmmgnpb2.BMBCEIIJBDI = 1U;
|
|
lcoogmmgnpb2.MMEBLCBANIL = raycastHit.transform;
|
|
this.AFEDHEFEEJI(lcoogmmgnpb2);
|
|
this.HLHBHKNIKIK = raycastHit.transform;
|
|
}
|
|
if (!flag)
|
|
{
|
|
this.HLHBHKNIKIK = null;
|
|
}
|
|
if (flag && raycastHit.distance < 1224f)
|
|
{
|
|
num = raycastHit.distance;
|
|
}
|
|
if (component != null && component.triggerPressed)
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness * 83f, this.thickness * 919f, num);
|
|
}
|
|
else
|
|
{
|
|
this.pointer.transform.localScale = new Vector3(this.thickness, this.thickness, num);
|
|
}
|
|
this.pointer.transform.localPosition = new Vector3(219f, 1201f, num / 68f);
|
|
}
|
|
|
|
// Token: 0x0600E2FD RID: 58109 RVA: 0x00437F10 File Offset: 0x00436110
|
|
public void KLHFMNJNMEA(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.IFEHAEPDDBB;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.IFEHAEPDDBB, (CLFHBDOFNLP)Delegate.Combine(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E2FE RID: 58110 RVA: 0x00437F48 File Offset: 0x00436148
|
|
public void IJACOMMEKBL(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.NONCKCDJDPM;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.NONCKCDJDPM, (CLFHBDOFNLP)Delegate.Remove(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E2FF RID: 58111 RVA: 0x00437F80 File Offset: 0x00436180
|
|
public virtual void IFHGGDOAENK(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.NONCKCDJDPM != null)
|
|
{
|
|
this.NONCKCDJDPM(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E300 RID: 58112 RVA: 0x00437F9C File Offset: 0x0043619C
|
|
public virtual void JBEJGELGGHG(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.NONCKCDJDPM != null)
|
|
{
|
|
this.NONCKCDJDPM(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E301 RID: 58113 RVA: 0x00437FB8 File Offset: 0x004361B8
|
|
public void KDLGCNJOMBC(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.IFEHAEPDDBB;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.IFEHAEPDDBB, (CLFHBDOFNLP)Delegate.Remove(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E302 RID: 58114 RVA: 0x00437FF0 File Offset: 0x004361F0
|
|
public virtual void AFEDHEFEEJI(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.NONCKCDJDPM != null)
|
|
{
|
|
this.NONCKCDJDPM(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E303 RID: 58115 RVA: 0x0043800C File Offset: 0x0043620C
|
|
public void HHCGFCNKCAA(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.IFEHAEPDDBB;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.IFEHAEPDDBB, (CLFHBDOFNLP)Delegate.Remove(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E304 RID: 58116 RVA: 0x00438044 File Offset: 0x00436244
|
|
public void MKFAJDNDNBN(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.IFEHAEPDDBB;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.IFEHAEPDDBB, (CLFHBDOFNLP)Delegate.Remove(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E305 RID: 58117 RVA: 0x0043807C File Offset: 0x0043627C
|
|
public virtual void JNDGPABAHFB(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.NONCKCDJDPM != null)
|
|
{
|
|
this.NONCKCDJDPM(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E306 RID: 58118 RVA: 0x00438098 File Offset: 0x00436298
|
|
public virtual void MJOJKFPGJOC(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.NONCKCDJDPM != null)
|
|
{
|
|
this.NONCKCDJDPM(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E307 RID: 58119 RVA: 0x004380B4 File Offset: 0x004362B4
|
|
public void GMEICCBGDCA(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.NONCKCDJDPM;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.NONCKCDJDPM, (CLFHBDOFNLP)Delegate.Remove(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E308 RID: 58120 RVA: 0x004380EC File Offset: 0x004362EC
|
|
public void AODLPNGDMCD(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.NONCKCDJDPM;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.NONCKCDJDPM, (CLFHBDOFNLP)Delegate.Combine(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E30A RID: 58122 RVA: 0x0043815C File Offset: 0x0043635C
|
|
public virtual void AEPEMAFNNBE(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.NONCKCDJDPM != null)
|
|
{
|
|
this.NONCKCDJDPM(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E30B RID: 58123 RVA: 0x00438178 File Offset: 0x00436378
|
|
public virtual void OnPointerOut(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.IFEHAEPDDBB != null)
|
|
{
|
|
this.IFEHAEPDDBB(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E30C RID: 58124 RVA: 0x00438194 File Offset: 0x00436394
|
|
public virtual void EAKKHNPAIGK(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.IFEHAEPDDBB != null)
|
|
{
|
|
this.IFEHAEPDDBB(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E30D RID: 58125 RVA: 0x004381B0 File Offset: 0x004363B0
|
|
public void PKGDDIMCNIC(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.NONCKCDJDPM;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.NONCKCDJDPM, (CLFHBDOFNLP)Delegate.Remove(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E30E RID: 58126 RVA: 0x004381E8 File Offset: 0x004363E8
|
|
public void HEIBJINCDEJ(CLFHBDOFNLP NOBAPCOKFIL)
|
|
{
|
|
CLFHBDOFNLP clfhbdofnlp = this.IFEHAEPDDBB;
|
|
CLFHBDOFNLP clfhbdofnlp2;
|
|
do
|
|
{
|
|
clfhbdofnlp2 = clfhbdofnlp;
|
|
clfhbdofnlp = Interlocked.CompareExchange<CLFHBDOFNLP>(ref this.IFEHAEPDDBB, (CLFHBDOFNLP)Delegate.Remove(clfhbdofnlp2, NOBAPCOKFIL), clfhbdofnlp);
|
|
}
|
|
while (clfhbdofnlp != clfhbdofnlp2);
|
|
}
|
|
|
|
// Token: 0x0600E30F RID: 58127 RVA: 0x00438220 File Offset: 0x00436420
|
|
private void Start()
|
|
{
|
|
this.holder = new GameObject();
|
|
this.holder.transform.parent = base.transform;
|
|
this.holder.transform.localPosition = Vector3.zero;
|
|
this.holder.transform.localRotation = Quaternion.identity;
|
|
this.pointer = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
|
this.pointer.transform.parent = this.holder.transform;
|
|
this.pointer.transform.localScale = new Vector3(this.thickness, this.thickness, 100f);
|
|
this.pointer.transform.localPosition = new Vector3(0f, 0f, 50f);
|
|
this.pointer.transform.localRotation = Quaternion.identity;
|
|
BoxCollider component = this.pointer.GetComponent<BoxCollider>();
|
|
if (this.addRigidBody)
|
|
{
|
|
if (component)
|
|
{
|
|
component.isTrigger = true;
|
|
}
|
|
Rigidbody rigidbody = this.pointer.AddComponent<Rigidbody>();
|
|
rigidbody.isKinematic = true;
|
|
}
|
|
else if (component)
|
|
{
|
|
global::UnityEngine.Object.Destroy(component);
|
|
}
|
|
Material material = new Material(Shader.Find("Unlit/Color"));
|
|
material.SetColor("_Color", this.color);
|
|
this.pointer.GetComponent<MeshRenderer>().material = material;
|
|
}
|
|
|
|
// Token: 0x0600E310 RID: 58128 RVA: 0x00438384 File Offset: 0x00436584
|
|
public virtual void DIJJEPDMJBO(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.IFEHAEPDDBB != null)
|
|
{
|
|
this.IFEHAEPDDBB(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600E311 RID: 58129 RVA: 0x004383A0 File Offset: 0x004365A0
|
|
public virtual void CKCCGMJOOLF(LCOOGMMGNPB CBDEIDDMHKE)
|
|
{
|
|
if (this.NONCKCDJDPM != null)
|
|
{
|
|
this.NONCKCDJDPM(this, CBDEIDDMHKE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x040020E0 RID: 8416
|
|
public bool active = true;
|
|
|
|
// Token: 0x040020E1 RID: 8417
|
|
public Color color;
|
|
|
|
// Token: 0x040020E2 RID: 8418
|
|
public float thickness = 0.002f;
|
|
|
|
// Token: 0x040020E3 RID: 8419
|
|
public GameObject holder;
|
|
|
|
// Token: 0x040020E4 RID: 8420
|
|
public GameObject pointer;
|
|
|
|
// Token: 0x040020E5 RID: 8421
|
|
private bool HNEHOMGLBAE;
|
|
|
|
// Token: 0x040020E6 RID: 8422
|
|
public bool addRigidBody;
|
|
|
|
// Token: 0x040020E7 RID: 8423
|
|
public Transform reference;
|
|
|
|
// Token: 0x040020EA RID: 8426
|
|
private Transform HLHBHKNIKIK;
|
|
}
|