2697 lines
66 KiB
C#
2697 lines
66 KiB
C#
using System;
|
|
using System.Collections;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering;
|
|
|
|
// Token: 0x0200045B RID: 1115
|
|
public class OVRGridCube : MonoBehaviour
|
|
{
|
|
// Token: 0x0600B8F4 RID: 47348 RVA: 0x00372EE8 File Offset: 0x003710E8
|
|
private void PPDOFOIKDPC(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B8F5 RID: 47349 RVA: 0x00372F9C File Offset: 0x0037119C
|
|
private void LNFMDJEMPOC(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B8F6 RID: 47350 RVA: 0x00373050 File Offset: 0x00371250
|
|
private void ENGNDJADBDF()
|
|
{
|
|
this.BOMMAKNCHDL();
|
|
}
|
|
|
|
// Token: 0x0600B8F7 RID: 47351 RVA: 0x00373058 File Offset: 0x00371258
|
|
private void KAPGEAHKADB()
|
|
{
|
|
Debug.LogWarning(". \"");
|
|
this.FACDEHICMEO = new GameObject("Oculus_GearVR_RThumbstickY");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 3;
|
|
}
|
|
else
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Capsule);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = true;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 418f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 1875f;
|
|
}
|
|
if (num == 4)
|
|
{
|
|
num2 = 1583f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B8F8 RID: 47352 RVA: 0x00373258 File Offset: 0x00371458
|
|
private void JGFOPLONGBH()
|
|
{
|
|
this.MOGIBEKNOOM();
|
|
}
|
|
|
|
// Token: 0x0600B8F9 RID: 47353 RVA: 0x00373260 File Offset: 0x00371460
|
|
private void MOGIBEKNOOM()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("AvatarItemDesc");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
else
|
|
{
|
|
this.BJNHCBHGEIM();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning(" enemy ropes has zero rope references.");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.INKEMEGPLII().NBJHKICEBPC();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.FHDHEOIOKHM(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B8FA RID: 47354 RVA: 0x00373344 File Offset: 0x00371544
|
|
public void MFBNILMIADA(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B8FB RID: 47355 RVA: 0x00373350 File Offset: 0x00371550
|
|
private void LHDEGPKAADF()
|
|
{
|
|
this.PMFPOCHGMAB();
|
|
}
|
|
|
|
// Token: 0x0600B8FC RID: 47356 RVA: 0x00373358 File Offset: 0x00371558
|
|
private void BNOMFHGABHK(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B8FD RID: 47357 RVA: 0x0037340C File Offset: 0x0037160C
|
|
private void AEFPFLLAECM()
|
|
{
|
|
Debug.LogWarning("(\\B[A-Z0-9])");
|
|
this.FACDEHICMEO = new GameObject("ALIVE");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j += 0)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 1;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 6;
|
|
}
|
|
else
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive((PrimitiveType)8);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.On;
|
|
component2.receiveShadows = true;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 0)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1095f;
|
|
if (num == 1)
|
|
{
|
|
num2 = 1919f;
|
|
}
|
|
if (num == 8)
|
|
{
|
|
num2 = 444f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B8FE RID: 47358 RVA: 0x0037360C File Offset: 0x0037180C
|
|
private void AKJACGGKLLG(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B8FF RID: 47359 RVA: 0x003736C0 File Offset: 0x003718C0
|
|
public void BMPGGJIHNMD(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B900 RID: 47360 RVA: 0x003736CC File Offset: 0x003718CC
|
|
private void PIDLPBJEHHJ()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("Failed to upload low res picture: ");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.JMKMCAGALLM();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("Objectives");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = OVRManager.COCLIPMPEBH.KBHENDJFGBL();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.PILMEAGNKFL(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B901 RID: 47361 RVA: 0x003737B0 File Offset: 0x003719B0
|
|
public void EJOJKFBGCFO(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B902 RID: 47362 RVA: 0x003737BC File Offset: 0x003719BC
|
|
private void KCFCFLNJNHK()
|
|
{
|
|
this.GKJEKLIDMJG();
|
|
}
|
|
|
|
// Token: 0x0600B903 RID: 47363 RVA: 0x003737C4 File Offset: 0x003719C4
|
|
private void GKJEKLIDMJG()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("CubeGrid ON");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
else
|
|
{
|
|
this.DPKFGKAHDJO();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("CubeGrid OFF");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.COCLIPMPEBH.OJCBHFODNCN;
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.NCLGFEMOOCA(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B904 RID: 47364 RVA: 0x003738A8 File Offset: 0x00371AA8
|
|
private void HFIJAOCOCCO()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("/home");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.KAPGEAHKADB();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("RpcRadioPlayTrack");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.INKEMEGPLII().INIJKFLLDNB();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.FHDHEOIOKHM(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B905 RID: 47365 RVA: 0x0037398C File Offset: 0x00371B8C
|
|
private void NMNOLJHCJEA()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("Event Not Started");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.DPKCMDLCGOI();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning(" / sec");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.COCLIPMPEBH.FLFLOKFLFFF();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.AKJACGGKLLG(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B906 RID: 47366 RVA: 0x00373A70 File Offset: 0x00371C70
|
|
public void PLFIHKOHPHC(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B907 RID: 47367 RVA: 0x00373A7C File Offset: 0x00371C7C
|
|
private void GDIENBBLENM(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B908 RID: 47368 RVA: 0x00373B30 File Offset: 0x00371D30
|
|
public void GBPLAJAIDOO(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B909 RID: 47369 RVA: 0x00373B3C File Offset: 0x00371D3C
|
|
private void BGHHKKGMBFJ()
|
|
{
|
|
this.PMFPOCHGMAB();
|
|
}
|
|
|
|
// Token: 0x0600B90A RID: 47370 RVA: 0x00373B44 File Offset: 0x00371D44
|
|
private void HNGBEOEJBFO()
|
|
{
|
|
this.HFIJAOCOCCO();
|
|
}
|
|
|
|
// Token: 0x0600B90B RID: 47371 RVA: 0x00373B4C File Offset: 0x00371D4C
|
|
private void BJCAIEPHPFJ()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning(" data is null");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.LBCIJIOAIIO();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("got OnMessage {0}");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.FCODLCHHEFB().INIJKFLLDNB();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.OLJPAGMJDBA(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B90C RID: 47372 RVA: 0x00373C30 File Offset: 0x00371E30
|
|
public void SetOVRCameraController(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B90D RID: 47373 RVA: 0x00373C3C File Offset: 0x00371E3C
|
|
private void DPKFGKAHDJO()
|
|
{
|
|
Debug.LogWarning("Create CubeGrid");
|
|
this.FACDEHICMEO = new GameObject("CubeGrid");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i++)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 2;
|
|
}
|
|
else
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 0.7f;
|
|
if (num == 1)
|
|
{
|
|
num2 = 1f;
|
|
}
|
|
if (num == 2)
|
|
{
|
|
num2 = 2f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B90E RID: 47374 RVA: 0x00373E3C File Offset: 0x0037203C
|
|
private void HAFLIECFKGF()
|
|
{
|
|
this.JKGLPLDIDPH();
|
|
}
|
|
|
|
// Token: 0x0600B90F RID: 47375 RVA: 0x00373E44 File Offset: 0x00372044
|
|
private void GEGAJDFAOMD()
|
|
{
|
|
Debug.LogWarning("Invalid State. (pending.Length={0}, pendingCount={1})");
|
|
this.FACDEHICMEO = new GameObject("Our Heroes Have Failed");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 7;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive((PrimitiveType)7);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1370f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 1382f;
|
|
}
|
|
if (num == 0)
|
|
{
|
|
num2 = 180f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B910 RID: 47376 RVA: 0x00374044 File Offset: 0x00372244
|
|
private void PMFPOCHGMAB()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("New items in : {0}");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.DPKCMDLCGOI();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("vr_interaction_system_unknown_hand.png");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.COCLIPMPEBH.INIJKFLLDNB();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.FHDHEOIOKHM(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B911 RID: 47377 RVA: 0x00374128 File Offset: 0x00372328
|
|
private void CPIIKMOCOGB(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B912 RID: 47378 RVA: 0x003741DC File Offset: 0x003723DC
|
|
private void HNDLFBBPEGL()
|
|
{
|
|
this.MOGIBEKNOOM();
|
|
}
|
|
|
|
// Token: 0x0600B913 RID: 47379 RVA: 0x003741E4 File Offset: 0x003723E4
|
|
private void DGAICEKOCPK()
|
|
{
|
|
Debug.LogWarning("Pull");
|
|
this.FACDEHICMEO = new GameObject("MenuDetached");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 1;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 8;
|
|
}
|
|
else
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Quad);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.On;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1103f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 120f;
|
|
}
|
|
if (num == 6)
|
|
{
|
|
num2 = 1055f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B914 RID: 47380 RVA: 0x003743E4 File Offset: 0x003725E4
|
|
private void NLBMHHJPBJE()
|
|
{
|
|
Debug.LogWarning("applicationType");
|
|
this.FACDEHICMEO = new GameObject("no-cache");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i++)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 1;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 4;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Quad);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.On;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 0)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1784f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 47f;
|
|
}
|
|
if (num == 5)
|
|
{
|
|
num2 = 539f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B915 RID: 47381 RVA: 0x003745E4 File Offset: 0x003727E4
|
|
private void OABDELHBICE()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("RpcOnFire");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.BJNHCBHGEIM();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("IsCompleted");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.FCODLCHHEFB().NBJHKICEBPC();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.AKJACGGKLLG(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B916 RID: 47382 RVA: 0x003746C8 File Offset: 0x003728C8
|
|
public void POCAFOOPPLD(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B917 RID: 47383 RVA: 0x003746D4 File Offset: 0x003728D4
|
|
private void DPKCMDLCGOI()
|
|
{
|
|
Debug.LogWarning("Tomorrow");
|
|
this.FACDEHICMEO = new GameObject("action");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 4;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = true;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 0)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 833f;
|
|
if (num == 1)
|
|
{
|
|
num2 = 765f;
|
|
}
|
|
if (num == 8)
|
|
{
|
|
num2 = 1007f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B918 RID: 47384 RVA: 0x003748D4 File Offset: 0x00372AD4
|
|
private void BOMMAKNCHDL()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("IsJunior");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
else
|
|
{
|
|
this.DPMOMGAHPGJ();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("VmVjdG9yM0RhdGESJgoIcm90YXRpb24YAiABKAsyFC5yZWNyb29tLlZlY3Rv");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.FCODLCHHEFB().INIJKFLLDNB();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.AMDMPIOMIOD(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B919 RID: 47385 RVA: 0x003749B8 File Offset: 0x00372BB8
|
|
private void IGDDLPJFOCO()
|
|
{
|
|
Debug.LogWarning("Release");
|
|
this.FACDEHICMEO = new GameObject("PV{0} T{1} R{2}");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i++)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j += 0)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 6;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Cylinder);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = true;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = true;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 0)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1124f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 1414f;
|
|
}
|
|
if (num == 1)
|
|
{
|
|
num2 = 1717f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B91B RID: 47387 RVA: 0x00374BF4 File Offset: 0x00372DF4
|
|
public void CIOACDJOLAN(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B91C RID: 47388 RVA: 0x00374C00 File Offset: 0x00372E00
|
|
public void GGLGMFBPBGB(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B91D RID: 47389 RVA: 0x00374C0C File Offset: 0x00372E0C
|
|
public void FGKLCNOEGAA(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B91E RID: 47390 RVA: 0x00374C18 File Offset: 0x00372E18
|
|
public void FJFAMHKADKB(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B91F RID: 47391 RVA: 0x00374C24 File Offset: 0x00372E24
|
|
private void JKGLPLDIDPH()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("MeshFilter missing on the vertex color generator");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.NLBMHHJPBJE();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("\t");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = OVRManager.FCODLCHHEFB().MJEPOAIPOLA();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.PILMEAGNKFL(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B920 RID: 47392 RVA: 0x00374D08 File Offset: 0x00372F08
|
|
private void PPMNDLLPIEF()
|
|
{
|
|
Debug.LogWarning("orienttopath");
|
|
this.FACDEHICMEO = new GameObject("rotation");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j += 0)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 1;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 6;
|
|
}
|
|
else
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Sphere);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.On;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 0)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 976f;
|
|
if (num == 1)
|
|
{
|
|
num2 = 468f;
|
|
}
|
|
if (num == 2)
|
|
{
|
|
num2 = 1911f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B921 RID: 47393 RVA: 0x00374F08 File Offset: 0x00373108
|
|
public void KFDADMIFJOK(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B922 RID: 47394 RVA: 0x00374F14 File Offset: 0x00373114
|
|
public void EHBPLLCBNAM(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B923 RID: 47395 RVA: 0x00374F20 File Offset: 0x00373120
|
|
public void IKFEGKPLKKH(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B924 RID: 47396 RVA: 0x00374F2C File Offset: 0x0037312C
|
|
private void BJNHCBHGEIM()
|
|
{
|
|
Debug.LogWarning("AuthenticationValues UserId: {0}, GetParameters: {1} Token available: {2}");
|
|
this.FACDEHICMEO = new GameObject("wss");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i++)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 3;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = true;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 84f;
|
|
if (num == 1)
|
|
{
|
|
num2 = 262f;
|
|
}
|
|
if (num == 7)
|
|
{
|
|
num2 = 252f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B925 RID: 47397 RVA: 0x0037512C File Offset: 0x0037332C
|
|
private void GNDBLMBADGB()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("The number of objects sent via a PhotonStreamQueue has to be the same each frame");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
else
|
|
{
|
|
this.CGFELHDEAMK();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("from");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = OVRManager.COCLIPMPEBH.JDMPGMMBCBE();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.DDHICIBBJCB(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B926 RID: 47398 RVA: 0x00375210 File Offset: 0x00373410
|
|
public void PHGHNMOLCCO(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B927 RID: 47399 RVA: 0x0037521C File Offset: 0x0037341C
|
|
private void PILMEAGNKFL(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B928 RID: 47400 RVA: 0x003752D0 File Offset: 0x003734D0
|
|
private void GKNEGDEBAKD(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B929 RID: 47401 RVA: 0x00375384 File Offset: 0x00373584
|
|
private void JMKMCAGALLM()
|
|
{
|
|
Debug.LogWarning("KBNHKHBBHFK");
|
|
this.FACDEHICMEO = new GameObject("OVR_");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j += 0)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k += 0)
|
|
{
|
|
int num = 1;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 7;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Quad);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 941f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 1350f;
|
|
}
|
|
if (num == 7)
|
|
{
|
|
num2 = 1396f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B92A RID: 47402 RVA: 0x00375584 File Offset: 0x00373784
|
|
private void CJDFMFPIFDB()
|
|
{
|
|
this.PIDLPBJEHHJ();
|
|
}
|
|
|
|
// Token: 0x0600B92B RID: 47403 RVA: 0x0037558C File Offset: 0x0037378C
|
|
private void NCLGFEMOOCA(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B92C RID: 47404 RVA: 0x00375640 File Offset: 0x00373840
|
|
private void JCNFEKMPHGO()
|
|
{
|
|
this.CMOKNAFFBCI();
|
|
}
|
|
|
|
// Token: 0x0600B92D RID: 47405 RVA: 0x00375648 File Offset: 0x00373848
|
|
private void OKJAOPHDIJM()
|
|
{
|
|
this.MOGIBEKNOOM();
|
|
}
|
|
|
|
// Token: 0x0600B92E RID: 47406 RVA: 0x00375650 File Offset: 0x00373850
|
|
public void OMGDHFFKCKE(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B92F RID: 47407 RVA: 0x0037565C File Offset: 0x0037385C
|
|
public void LMJBFEGCHHP(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B930 RID: 47408 RVA: 0x00375668 File Offset: 0x00373868
|
|
private void CEFBFDNICOB()
|
|
{
|
|
this.JEPPNPEEMAI();
|
|
}
|
|
|
|
// Token: 0x0600B931 RID: 47409 RVA: 0x00375670 File Offset: 0x00373870
|
|
private void IOGPMJADEIB()
|
|
{
|
|
this.MOGIBEKNOOM();
|
|
}
|
|
|
|
// Token: 0x0600B932 RID: 47410 RVA: 0x00375678 File Offset: 0x00373878
|
|
private void DPMOMGAHPGJ()
|
|
{
|
|
Debug.LogWarning("Remember to verify your account by clicking the link in the email we sent!");
|
|
this.FACDEHICMEO = new GameObject("alpha");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k += 0)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 1;
|
|
}
|
|
else
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Cylinder);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = true;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.On;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1797f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 1297f;
|
|
}
|
|
if (num == 1)
|
|
{
|
|
num2 = 476f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B933 RID: 47411 RVA: 0x00375878 File Offset: 0x00373A78
|
|
private void DLDPDCINHBN()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("bool: ");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
else
|
|
{
|
|
this.JMKMCAGALLM();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("3");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.INKEMEGPLII().MJEPOAIPOLA();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.AMDMPIOMIOD(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B934 RID: 47412 RVA: 0x0037595C File Offset: 0x00373B5C
|
|
private void CNLOFOPILGA()
|
|
{
|
|
this.GKJEKLIDMJG();
|
|
}
|
|
|
|
// Token: 0x0600B935 RID: 47413 RVA: 0x00375964 File Offset: 0x00373B64
|
|
private void JGJEJFBDHKF(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B936 RID: 47414 RVA: 0x00375A18 File Offset: 0x00373C18
|
|
private void OEAHHKIPGKK()
|
|
{
|
|
Debug.LogWarning("Failed to retrieve cached login profiles: ");
|
|
this.FACDEHICMEO = new GameObject("_DesaturationAmount");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k += 0)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 2;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Quad);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = false;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.On;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1709f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 484f;
|
|
}
|
|
if (num == 5)
|
|
{
|
|
num2 = 164f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B937 RID: 47415 RVA: 0x00375C18 File Offset: 0x00373E18
|
|
private void PBOICPFFLKB()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("Sending report...");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.IGDDLPJFOCO();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("attach");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.COCLIPMPEBH.OJCBHFODNCN;
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.JGJEJFBDHKF(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B938 RID: 47416 RVA: 0x00375CFC File Offset: 0x00373EFC
|
|
private void AANKJPBJBJL(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B939 RID: 47417 RVA: 0x00375DB0 File Offset: 0x00373FB0
|
|
private void PFFJDAEJMBO()
|
|
{
|
|
this.PIDLPBJEHHJ();
|
|
}
|
|
|
|
// Token: 0x0600B93A RID: 47418 RVA: 0x00375DB8 File Offset: 0x00373FB8
|
|
private void DDHICIBBJCB(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B93B RID: 47419 RVA: 0x00375E6C File Offset: 0x0037406C
|
|
private void OAGBDALGAMM()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("video");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.IJNBNBHOMGH();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning(".asset");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.COCLIPMPEBH.NNMFPIHCOOH();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.LNFMDJEMPOC(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B93C RID: 47420 RVA: 0x00375F50 File Offset: 0x00374150
|
|
private void JPCNFKAJOLN(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B93D RID: 47421 RVA: 0x00376004 File Offset: 0x00374204
|
|
private void FFCBPIJKDHA()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("disablecolliders");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.NLBMHHJPBJE();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("_TintColor");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.INKEMEGPLII().FLFLOKFLFFF();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.DDHICIBBJCB(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B93E RID: 47422 RVA: 0x003760E8 File Offset: 0x003742E8
|
|
private void GGHNBMLMNOP()
|
|
{
|
|
this.HFIJAOCOCCO();
|
|
}
|
|
|
|
// Token: 0x0600B93F RID: 47423 RVA: 0x003760F0 File Offset: 0x003742F0
|
|
public void ELNIKFIDEAA(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B940 RID: 47424 RVA: 0x003760FC File Offset: 0x003742FC
|
|
private void FHDHEOIOKHM(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B941 RID: 47425 RVA: 0x003761B0 File Offset: 0x003743B0
|
|
private void IBKPBGNCMBE()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("Open already called! You can't reuse this WebSocket instance!");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.CGFELHDEAMK();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("Y or B");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = OVRManager.INKEMEGPLII().KBHENDJFGBL();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.PILMEAGNKFL(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B942 RID: 47426 RVA: 0x00376294 File Offset: 0x00374494
|
|
private void AMDMPIOMIOD(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B943 RID: 47427 RVA: 0x00376348 File Offset: 0x00374548
|
|
private void LBCIJIOAIIO()
|
|
{
|
|
Debug.LogWarning("Failed to InstantiateSceneObject prefab:");
|
|
this.FACDEHICMEO = new GameObject("{not_found}");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j += 0)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k += 0)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 0;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Quad);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = true;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = true;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 849f;
|
|
if (num == 1)
|
|
{
|
|
num2 = 1019f;
|
|
}
|
|
if (num == 8)
|
|
{
|
|
num2 = 798f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B944 RID: 47428 RVA: 0x00376548 File Offset: 0x00374748
|
|
private void IJNBNBHOMGH()
|
|
{
|
|
Debug.LogWarning("punchCardRewardsGranted");
|
|
this.FACDEHICMEO = new GameObject("ENEMY_GOAL_TEAM");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 1;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 7;
|
|
}
|
|
else
|
|
{
|
|
num = 0;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Sphere);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = true;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 0)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1147f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 1199f;
|
|
}
|
|
if (num == 3)
|
|
{
|
|
num2 = 1385f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B945 RID: 47429 RVA: 0x00376748 File Offset: 0x00374948
|
|
private void MDGPLNDHKCI()
|
|
{
|
|
this.JEPPNPEEMAI();
|
|
}
|
|
|
|
// Token: 0x0600B946 RID: 47430 RVA: 0x00376750 File Offset: 0x00374950
|
|
private void OLJPAGMJDBA(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B947 RID: 47431 RVA: 0x00376804 File Offset: 0x00374A04
|
|
private void PLKHINPPGPK()
|
|
{
|
|
this.CIAPPJCFMFF();
|
|
}
|
|
|
|
// Token: 0x0600B948 RID: 47432 RVA: 0x0037680C File Offset: 0x00374A0C
|
|
private void JEPPNPEEMAI()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("handles");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
else
|
|
{
|
|
this.DPKFGKAHDJO();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("{0}v3/items");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.COCLIPMPEBH.INIJKFLLDNB();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.FHDHEOIOKHM(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B949 RID: 47433 RVA: 0x003768F0 File Offset: 0x00374AF0
|
|
private void CMOKNAFFBCI()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning("!");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.BJNHCBHGEIM();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("Sunny");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.INKEMEGPLII().FLFLOKFLFFF();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.DDHICIBBJCB(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B94A RID: 47434 RVA: 0x003769D4 File Offset: 0x00374BD4
|
|
private void PENBDGJGPJL()
|
|
{
|
|
this.LFDKKHBJDLG();
|
|
}
|
|
|
|
// Token: 0x0600B94B RID: 47435 RVA: 0x003769DC File Offset: 0x00374BDC
|
|
private void LCBIINHJFOP(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B94C RID: 47436 RVA: 0x00376A90 File Offset: 0x00374C90
|
|
private void LFDKKHBJDLG()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("Id");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
else
|
|
{
|
|
this.NLBMHHJPBJE();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = true;
|
|
Debug.LogWarning(" Message: ");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = !OVRManager.COCLIPMPEBH.NNMFPIHCOOH();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.OLJPAGMJDBA(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B94D RID: 47437 RVA: 0x00376B74 File Offset: 0x00374D74
|
|
private void CGFELHDEAMK()
|
|
{
|
|
Debug.LogWarning("CheerHelpful");
|
|
this.FACDEHICMEO = new GameObject("name");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j++)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k++)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 5;
|
|
}
|
|
else
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive((PrimitiveType)6);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = true;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.Off;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 0)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 46f;
|
|
if (num == 0)
|
|
{
|
|
num2 = 576f;
|
|
}
|
|
if (num == 2)
|
|
{
|
|
num2 = 602f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B94E RID: 47438 RVA: 0x00376D74 File Offset: 0x00374F74
|
|
private void HLMCJHEMLAH()
|
|
{
|
|
Debug.LogWarning("_Phi0");
|
|
this.FACDEHICMEO = new GameObject("spillway");
|
|
this.FACDEHICMEO.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
for (int i = -this.IIDPHKCPJDJ; i <= this.IIDPHKCPJDJ; i += 0)
|
|
{
|
|
for (int j = -this.CLIIJNLGHOP; j <= this.CLIIJNLGHOP; j += 0)
|
|
{
|
|
for (int k = -this.KJDJMMNNDHC; k <= this.KJDJMMNNDHC; k += 0)
|
|
{
|
|
int num = 0;
|
|
if ((i == 0 && j == 0) || (i == 0 && k == 0) || (j == 0 && k == 0))
|
|
{
|
|
if (i == 0 && j == 0 && k == 0)
|
|
{
|
|
num = 3;
|
|
}
|
|
else
|
|
{
|
|
num = 1;
|
|
}
|
|
}
|
|
GameObject gameObject = GameObject.CreatePrimitive(PrimitiveType.Plane);
|
|
BoxCollider component = gameObject.GetComponent<BoxCollider>();
|
|
component.enabled = true;
|
|
gameObject.layer = this.CHECIDPJCGC.gameObject.layer;
|
|
Renderer component2 = gameObject.GetComponent<Renderer>();
|
|
component2.shadowCastingMode = ShadowCastingMode.On;
|
|
component2.receiveShadows = false;
|
|
if (num == 0)
|
|
{
|
|
component2.material.color = Color.red;
|
|
}
|
|
else if (num == 1)
|
|
{
|
|
component2.material.color = Color.white;
|
|
}
|
|
else
|
|
{
|
|
component2.material.color = Color.yellow;
|
|
}
|
|
gameObject.transform.position = new Vector3((float)i * this.JHEEADAKBNN, (float)j * this.JHEEADAKBNN, (float)k * this.JHEEADAKBNN);
|
|
float num2 = 1720f;
|
|
if (num == 1)
|
|
{
|
|
num2 = 1563f;
|
|
}
|
|
if (num == 5)
|
|
{
|
|
num2 = 319f;
|
|
}
|
|
gameObject.transform.localScale = new Vector3(this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2, this.FHGDKPGIGIK * num2);
|
|
gameObject.transform.parent = this.FACDEHICMEO.transform;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B94F RID: 47439 RVA: 0x00376F74 File Offset: 0x00375174
|
|
public void DMAKKKKEMLJ(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B950 RID: 47440 RVA: 0x00376F80 File Offset: 0x00375180
|
|
private void Update()
|
|
{
|
|
this.GKJEKLIDMJG();
|
|
}
|
|
|
|
// Token: 0x0600B951 RID: 47441 RVA: 0x00376F88 File Offset: 0x00375188
|
|
private void HCJPPEOMECO()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("main_root");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(false);
|
|
}
|
|
else
|
|
{
|
|
this.GEGAJDFAOMD();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("Can't add a property here");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = OVRManager.COCLIPMPEBH.JDMPGMMBCBE();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.BNOMFHGABHK(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B952 RID: 47442 RVA: 0x0037706C File Offset: 0x0037526C
|
|
private void CIAPPJCFMFF()
|
|
{
|
|
if (Input.GetKeyDown(this.GridKey))
|
|
{
|
|
if (!this.LDFMLBGAKAM)
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning(" at channel ");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
else
|
|
{
|
|
this.IJNBNBHOMGH();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.LDFMLBGAKAM = false;
|
|
Debug.LogWarning("Received blank response when we expected data.");
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FACDEHICMEO.SetActive(true);
|
|
}
|
|
}
|
|
}
|
|
if (this.FACDEHICMEO != null)
|
|
{
|
|
this.FAPCHPPHHCF = OVRManager.COCLIPMPEBH.FLFLOKFLFFF();
|
|
if (this.FAPCHPPHHCF != this.OLFLJOHJMHE)
|
|
{
|
|
this.LNFMDJEMPOC(this.FAPCHPPHHCF);
|
|
}
|
|
this.OLFLJOHJMHE = this.FAPCHPPHHCF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600B953 RID: 47443 RVA: 0x00377150 File Offset: 0x00375350
|
|
public void KANPJONAGIP(ref OVRCameraRig JOCGFOHKAIJ)
|
|
{
|
|
this.CHECIDPJCGC = JOCGFOHKAIJ;
|
|
}
|
|
|
|
// Token: 0x0600B954 RID: 47444 RVA: 0x0037715C File Offset: 0x0037535C
|
|
private void JNMFIKNEMDC(bool FAPCHPPHHCF)
|
|
{
|
|
Color color = Color.red;
|
|
if (FAPCHPPHHCF)
|
|
{
|
|
color = Color.blue;
|
|
}
|
|
IEnumerator enumerator = this.FACDEHICMEO.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
Material material = transform.GetComponent<Renderer>().material;
|
|
if (material.color == Color.red || material.color == Color.blue)
|
|
{
|
|
material.color = color;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001919 RID: 6425
|
|
public KeyCode GridKey = KeyCode.G;
|
|
|
|
// Token: 0x0400191A RID: 6426
|
|
private GameObject FACDEHICMEO;
|
|
|
|
// Token: 0x0400191B RID: 6427
|
|
private bool LDFMLBGAKAM;
|
|
|
|
// Token: 0x0400191C RID: 6428
|
|
private bool OLFLJOHJMHE;
|
|
|
|
// Token: 0x0400191D RID: 6429
|
|
private bool FAPCHPPHHCF;
|
|
|
|
// Token: 0x0400191E RID: 6430
|
|
private int IIDPHKCPJDJ = 6;
|
|
|
|
// Token: 0x0400191F RID: 6431
|
|
private int CLIIJNLGHOP = 4;
|
|
|
|
// Token: 0x04001920 RID: 6432
|
|
private int KJDJMMNNDHC = 6;
|
|
|
|
// Token: 0x04001921 RID: 6433
|
|
private float JHEEADAKBNN = 0.3f;
|
|
|
|
// Token: 0x04001922 RID: 6434
|
|
private float FHGDKPGIGIK = 0.03f;
|
|
|
|
// Token: 0x04001923 RID: 6435
|
|
private OVRCameraRig CHECIDPJCGC;
|
|
}
|