967 lines
42 KiB
C#
967 lines
42 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000163 RID: 355
|
|
public class FadeOverDistance : MonoBehaviour
|
|
{
|
|
// Token: 0x06004AA1 RID: 19105 RVA: 0x00171A1C File Offset: 0x0016FC1C
|
|
private void JINABDGLFOB()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AA2 RID: 19106 RVA: 0x00171ADC File Offset: 0x0016FCDC
|
|
private void JFFLHAMMGAH()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("RpcOnPlayerCatch");
|
|
}
|
|
|
|
// Token: 0x06004AA3 RID: 19107 RVA: 0x00171B14 File Offset: 0x0016FD14
|
|
private void APIHEMFKGPJ()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AA4 RID: 19108 RVA: 0x00171BD4 File Offset: 0x0016FDD4
|
|
private void POMCHIPOPEA()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID(" of player ");
|
|
}
|
|
|
|
// Token: 0x06004AA5 RID: 19109 RVA: 0x00171C0C File Offset: 0x0016FE0C
|
|
private void FBNGCAPKDPC()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AA6 RID: 19110 RVA: 0x00171CCC File Offset: 0x0016FECC
|
|
private void NPGBJPLJKDP()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AA7 RID: 19111 RVA: 0x00171D8C File Offset: 0x0016FF8C
|
|
private void GGHNBMLMNOP()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AA8 RID: 19112 RVA: 0x00171E4C File Offset: 0x0017004C
|
|
private void IOGPMJADEIB()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AA9 RID: 19113 RVA: 0x00171F0C File Offset: 0x0017010C
|
|
private void HFEJGMADFGH()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AAA RID: 19114 RVA: 0x00171FCC File Offset: 0x001701CC
|
|
private void OEKOPBDDGCK()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AAB RID: 19115 RVA: 0x0017208C File Offset: 0x0017028C
|
|
private void FPMMBPEOBEE()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("[PhotonMessageInfo: Sender='{1}' Senttime={0}]");
|
|
}
|
|
|
|
// Token: 0x06004AAC RID: 19116 RVA: 0x001720C4 File Offset: 0x001702C4
|
|
private void IGDMCDLELON()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AAD RID: 19117 RVA: 0x00172184 File Offset: 0x00170384
|
|
private void FNHPFHOPCLL()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AAE RID: 19118 RVA: 0x00172244 File Offset: 0x00170444
|
|
private void KKABOKBLDGJ()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID(")");
|
|
}
|
|
|
|
// Token: 0x06004AAF RID: 19119 RVA: 0x0017227C File Offset: 0x0017047C
|
|
private void MDCNOIALLAF()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AB0 RID: 19120 RVA: 0x0017233C File Offset: 0x0017053C
|
|
private void ADKAPKKOHBC()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("S");
|
|
}
|
|
|
|
// Token: 0x06004AB1 RID: 19121 RVA: 0x00172374 File Offset: 0x00170574
|
|
private void PFBFOGJOOGP()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("ROTATE_IN_PLACE_ENABLED");
|
|
}
|
|
|
|
// Token: 0x06004AB2 RID: 19122 RVA: 0x001723AC File Offset: 0x001705AC
|
|
private void HNEJCGMHDHH()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AB3 RID: 19123 RVA: 0x0017246C File Offset: 0x0017066C
|
|
private void BDKMGEHDIIH()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("Null arguments passed to ActionEvent.Invoke()");
|
|
}
|
|
|
|
// Token: 0x06004AB4 RID: 19124 RVA: 0x001724A4 File Offset: 0x001706A4
|
|
private void EIMPMCFDMIA()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("P12345");
|
|
}
|
|
|
|
// Token: 0x06004AB5 RID: 19125 RVA: 0x001724DC File Offset: 0x001706DC
|
|
private void IDGJGAIBOCK()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AB6 RID: 19126 RVA: 0x0017259C File Offset: 0x0017079C
|
|
private void CNLOFOPILGA()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AB7 RID: 19127 RVA: 0x0017265C File Offset: 0x0017085C
|
|
private void JCNFEKMPHGO()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AB8 RID: 19128 RVA: 0x0017271C File Offset: 0x0017091C
|
|
private void FJCCGJGLMLP()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("[Steamworks.NET] Packsize Test returned false, the wrong version of Steamworks.NET is being run in this platform.");
|
|
}
|
|
|
|
// Token: 0x06004AB9 RID: 19129 RVA: 0x00172754 File Offset: 0x00170954
|
|
private void KJBPHNKFCAM()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("dmlld19pZBgCIAEoDBI4ChphdHRhY2hlZF9yZWxhdGl2ZV9wb3NpdGlvbhgD");
|
|
}
|
|
|
|
// Token: 0x06004ABA RID: 19130 RVA: 0x0017278C File Offset: 0x0017098C
|
|
private void NJBNCAPPAOH()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ABB RID: 19131 RVA: 0x0017284C File Offset: 0x00170A4C
|
|
private void PAKPLLPDIOG()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID(" was auto killed.");
|
|
}
|
|
|
|
// Token: 0x06004ABC RID: 19132 RVA: 0x00172884 File Offset: 0x00170A84
|
|
private void NOFHFBBHIMI()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ABD RID: 19133 RVA: 0x00172944 File Offset: 0x00170B44
|
|
private void CCOHCCEHNIC()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("load");
|
|
}
|
|
|
|
// Token: 0x06004ABE RID: 19134 RVA: 0x0017297C File Offset: 0x00170B7C
|
|
private void FKNAFPHNDMM()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ABF RID: 19135 RVA: 0x00172A3C File Offset: 0x00170C3C
|
|
private void KPLDKNPCAAB()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AC0 RID: 19136 RVA: 0x00172AFC File Offset: 0x00170CFC
|
|
private void FNNEJGDMBNI()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("Trying to initialize Synchronized field with a null default value. This is not allowed.");
|
|
}
|
|
|
|
// Token: 0x06004AC1 RID: 19137 RVA: 0x00172B34 File Offset: 0x00170D34
|
|
private void NKKKHBAGEJH()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AC2 RID: 19138 RVA: 0x00172BF4 File Offset: 0x00170DF4
|
|
private void GKDEONGKDLH()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AC3 RID: 19139 RVA: 0x00172CB4 File Offset: 0x00170EB4
|
|
private void Update()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AC4 RID: 19140 RVA: 0x00172D74 File Offset: 0x00170F74
|
|
private void IICDIBPOINA()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AC5 RID: 19141 RVA: 0x00172E34 File Offset: 0x00171034
|
|
private void MJEHPNFIMPP()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AC6 RID: 19142 RVA: 0x00172EF4 File Offset: 0x001710F4
|
|
private void LEMGDPHJENH()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("EN_US");
|
|
}
|
|
|
|
// Token: 0x06004AC7 RID: 19143 RVA: 0x00172F2C File Offset: 0x0017112C
|
|
private void LOFEIHMJJFA()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("Babygirl");
|
|
}
|
|
|
|
// Token: 0x06004AC8 RID: 19144 RVA: 0x00172F64 File Offset: 0x00171164
|
|
private void MJGFPAHIHGG()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AC9 RID: 19145 RVA: 0x00173024 File Offset: 0x00171224
|
|
private void LNKPKHFACHE()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("Parameter levelId must be int or string!");
|
|
}
|
|
|
|
// Token: 0x06004ACA RID: 19146 RVA: 0x0017305C File Offset: 0x0017125C
|
|
private void BHOMEEDCHBJ()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ACB RID: 19147 RVA: 0x0017311C File Offset: 0x0017131C
|
|
private void EMFLDLBKGOB()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ACC RID: 19148 RVA: 0x001731DC File Offset: 0x001713DC
|
|
private void LCJNAKGMOLE()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ACD RID: 19149 RVA: 0x0017329C File Offset: 0x0017149C
|
|
private void CAFCKELMDFF()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ACE RID: 19150 RVA: 0x0017335C File Offset: 0x0017155C
|
|
private void DLIIOFOCPHG()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ACF RID: 19151 RVA: 0x0017341C File Offset: 0x0017161C
|
|
private void IOKIFHGPMKI()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("Quest Manager uses collectibles for loot and the collectible prefab is null.");
|
|
}
|
|
|
|
// Token: 0x06004AD0 RID: 19152 RVA: 0x00173454 File Offset: 0x00171654
|
|
private void LOPGGBEPNAI()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AD1 RID: 19153 RVA: 0x00173514 File Offset: 0x00171714
|
|
private void DALFLKEEIEM()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AD2 RID: 19154 RVA: 0x001735D4 File Offset: 0x001717D4
|
|
private void NGHJFABFAOA()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("Match Point!");
|
|
}
|
|
|
|
// Token: 0x06004AD3 RID: 19155 RVA: 0x0017360C File Offset: 0x0017180C
|
|
private void AJLMLNBDMCH()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AD4 RID: 19156 RVA: 0x001736CC File Offset: 0x001718CC
|
|
private void KKAAFDLJCCB()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AD5 RID: 19157 RVA: 0x0017378C File Offset: 0x0017198C
|
|
private void NJLJOGNHANP()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AD6 RID: 19158 RVA: 0x0017384C File Offset: 0x00171A4C
|
|
private void INNHBLOHJPN()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AD8 RID: 19160 RVA: 0x00173940 File Offset: 0x00171B40
|
|
private void PONDPPDHJOM()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AD9 RID: 19161 RVA: 0x00173A00 File Offset: 0x00171C00
|
|
private void KOEMNKLHEBG()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ADA RID: 19162 RVA: 0x00173AC0 File Offset: 0x00171CC0
|
|
private void BGJEJHLKNKA()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("ROTATION_INCREMENT");
|
|
}
|
|
|
|
// Token: 0x06004ADB RID: 19163 RVA: 0x00173AF8 File Offset: 0x00171CF8
|
|
private void OLEBPMMFNIF()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("Updated!");
|
|
}
|
|
|
|
// Token: 0x06004ADC RID: 19164 RVA: 0x00173B30 File Offset: 0x00171D30
|
|
private void PPFIBIEHPDP()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ADD RID: 19165 RVA: 0x00173BF0 File Offset: 0x00171DF0
|
|
private void HLADMFFFENH()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ADE RID: 19166 RVA: 0x00173CB0 File Offset: 0x00171EB0
|
|
private void BJJKGIOCAIL()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004ADF RID: 19167 RVA: 0x00173D70 File Offset: 0x00171F70
|
|
private void NHLJJOPDMIN()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("amount");
|
|
}
|
|
|
|
// Token: 0x06004AE0 RID: 19168 RVA: 0x00173DA8 File Offset: 0x00171FA8
|
|
private void OFKHEPNEFGP()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AE1 RID: 19169 RVA: 0x00173E68 File Offset: 0x00172068
|
|
private void ILDEOJLFDJB()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AE2 RID: 19170 RVA: 0x00173F28 File Offset: 0x00172128
|
|
private void JPHHGJKACBJ()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AE3 RID: 19171 RVA: 0x00173FE8 File Offset: 0x001721E8
|
|
private void MJANJBNFEGG()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AE4 RID: 19172 RVA: 0x001740A8 File Offset: 0x001722A8
|
|
private void HMMKGAHIEDN()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AE5 RID: 19173 RVA: 0x00174168 File Offset: 0x00172368
|
|
private void MHJCEMECKEL()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AE6 RID: 19174 RVA: 0x00174228 File Offset: 0x00172428
|
|
private void Awake()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("_TintColor");
|
|
}
|
|
|
|
// Token: 0x06004AE7 RID: 19175 RVA: 0x00174260 File Offset: 0x00172460
|
|
private void IABDGAJLFNK()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("Rec Room update required");
|
|
}
|
|
|
|
// Token: 0x06004AE8 RID: 19176 RVA: 0x00174298 File Offset: 0x00172498
|
|
private void MEFGMDMICJB()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AE9 RID: 19177 RVA: 0x00174358 File Offset: 0x00172558
|
|
private void EEFJBLAIGBP()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = false;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("bxokc2FuZGJveF9zcGF3bmVkX2VxdWlwbWVudF9kYXRhLnByb3RvGhFzdGlj");
|
|
}
|
|
|
|
// Token: 0x06004AEA RID: 19178 RVA: 0x00174390 File Offset: 0x00172590
|
|
private void LHDEGPKAADF()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AEB RID: 19179 RVA: 0x00174450 File Offset: 0x00172650
|
|
private void LJICNBMGDMN()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AEC RID: 19180 RVA: 0x00174510 File Offset: 0x00172710
|
|
private void ELJEMOGNBOP()
|
|
{
|
|
if (SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM != null && this.JGDAEIHOEPA != null)
|
|
{
|
|
float sqrMagnitude = (base.transform.position - SingletonMonoBehaviour<CameraRig>.NCKMBFBMBFM.transform.position).sqrMagnitude;
|
|
float num = Mathf.InverseLerp(this.minDistance * this.minDistance, this.maxDistance * this.maxDistance, sqrMagnitude);
|
|
Color color = this.JGDAEIHOEPA.material.GetColor(this.AKGLHBGCJKK);
|
|
color.a = Mathf.SmoothStep(this.minDistanceAlpha, this.maxDistanceAlpha, num);
|
|
this.JGDAEIHOEPA.material.SetColor(this.AKGLHBGCJKK, color);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06004AED RID: 19181 RVA: 0x001745D0 File Offset: 0x001727D0
|
|
private void PPOPAEBNGPC()
|
|
{
|
|
this.JGDAEIHOEPA = base.GetComponent<Renderer>();
|
|
if (this.JGDAEIHOEPA == null)
|
|
{
|
|
base.enabled = true;
|
|
}
|
|
this.AKGLHBGCJKK = Shader.PropertyToID("PUNVoice: PhotonVoiceSpeaker:");
|
|
}
|
|
|
|
// Token: 0x04000962 RID: 2402
|
|
[SerializeField]
|
|
private float maxDistance = 16f;
|
|
|
|
// Token: 0x04000963 RID: 2403
|
|
[SerializeField]
|
|
private float minDistance = 1f;
|
|
|
|
// Token: 0x04000964 RID: 2404
|
|
[SerializeField]
|
|
private float maxDistanceAlpha = 0.15f;
|
|
|
|
// Token: 0x04000965 RID: 2405
|
|
[SerializeField]
|
|
private float minDistanceAlpha = 1f;
|
|
|
|
// Token: 0x04000966 RID: 2406
|
|
private Renderer JGDAEIHOEPA;
|
|
|
|
// Token: 0x04000967 RID: 2407
|
|
private int AKGLHBGCJKK;
|
|
}
|