2047 lines
49 KiB
C#
2047 lines
49 KiB
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.VR;
|
|
|
|
// Token: 0x02000461 RID: 1121
|
|
public class OVRSceneSampleController : MonoBehaviour
|
|
{
|
|
// Token: 0x0600BA67 RID: 47719 RVA: 0x0037F3A0 File Offset: 0x0037D5A0
|
|
private void NBCLIONDDDK()
|
|
{
|
|
float num = 1242f;
|
|
this.JGCHFGDAHDH.GHOMGCCPBOG(ref num);
|
|
if (Input.GetKeyDown((KeyCode)1))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.V))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetMoveScaleMultiplier(num);
|
|
float num2 = 851f;
|
|
this.JGCHFGDAHDH.EMFKKMLKPCD(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-112)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-126)))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.LFFPFEOOFBN(num2);
|
|
}
|
|
|
|
// Token: 0x0600BA68 RID: 47720 RVA: 0x0037F44C File Offset: 0x0037D64C
|
|
private void DOGGAPHLINO()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-38)))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.DKDPEPBKCPA(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA69 RID: 47721 RVA: 0x0037F480 File Offset: 0x0037D680
|
|
private void PEONLNAIHBO()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-51)))
|
|
{
|
|
OVRManager.FCJCJDICHCJ.EKEPMODBKOG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA6A RID: 47722 RVA: 0x0037F498 File Offset: 0x0037D698
|
|
private void NJCGLHJMAEC()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.OMGDHFFKCKE(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA6B RID: 47723 RVA: 0x0037F4F0 File Offset: 0x0037D6F0
|
|
private void LCAIEBEDGMJ()
|
|
{
|
|
this.EPOLJNGHKII();
|
|
this.HLMBIJDCHCI();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.NKNLDGGOFPE();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)177))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.R))
|
|
{
|
|
VRSettings.showDeviceView = VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA6C RID: 47724 RVA: 0x0037F56C File Offset: 0x0037D76C
|
|
private void BACNJJKPEOO()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("\nshould be shown in your browser");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning(". Server: '");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[1];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Platform");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("HasAppliedDamage");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA6D RID: 47725 RVA: 0x0037F604 File Offset: 0x0037D804
|
|
private void LJOELBOHMDL()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-131)))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.AGEIFIMMFLM(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA6E RID: 47726 RVA: 0x0037F638 File Offset: 0x0037D838
|
|
private void KOKOKCHBFPP()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.KANPJONAGIP(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA6F RID: 47727 RVA: 0x0037F690 File Offset: 0x0037D890
|
|
private void MCECFOCPOCA()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("sentToPlayerStatus");
|
|
}
|
|
else if (componentsInChildren.Length > 1)
|
|
{
|
|
Debug.LogWarning(" argument(s): ");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[1];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning(" of player ");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("lobby '{0}'[{1}]");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA70 RID: 47728 RVA: 0x0037F728 File Offset: 0x0037D928
|
|
private void ILDEOJLFDJB()
|
|
{
|
|
this.OGGHIJKMDJC();
|
|
this.MAGEPIGBFAL();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.ABMKCIHCJDJ();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)83))
|
|
{
|
|
Screen.fullScreen = Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)17))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA71 RID: 47729 RVA: 0x0037F7A4 File Offset: 0x0037D9A4
|
|
private void FFHHLNEMGCA()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-76)))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().OKKCHHFNOJG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA72 RID: 47730 RVA: 0x0037F7BC File Offset: 0x0037D9BC
|
|
private void GNNDODNMELC()
|
|
{
|
|
this.AGODOAIMFIJ();
|
|
this.BLPPONEFPEN();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.NBCLIONDDDK();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-105)))
|
|
{
|
|
Screen.fullScreen = Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.Hash))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA73 RID: 47731 RVA: 0x0037F838 File Offset: 0x0037DA38
|
|
private void DLCHNOFPONJ()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("Response");
|
|
}
|
|
else if (componentsInChildren.Length > 1)
|
|
{
|
|
Debug.LogWarning("_DepthEpi");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[1];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("^name is too short!");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("VoiceFilter");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA74 RID: 47732 RVA: 0x0037F8D0 File Offset: 0x0037DAD0
|
|
private void JAPDFDJBJEJ()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)134))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.FCODLCHHEFB().ILBLLBIMGLO(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA75 RID: 47733 RVA: 0x0037F904 File Offset: 0x0037DB04
|
|
private void DGEJEJFMPIM()
|
|
{
|
|
this.ONPHOAHJCCN();
|
|
this.PAJMFONOPHH();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.GDDLFBMHIGF();
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.Greater))
|
|
{
|
|
Screen.fullScreen = Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-62)))
|
|
{
|
|
VRSettings.showDeviceView = VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA76 RID: 47734 RVA: 0x0037F980 File Offset: 0x0037DB80
|
|
private void CNDEOKPOOMO()
|
|
{
|
|
float num = 1735f;
|
|
this.JGCHFGDAHDH.GHOMGCCPBOG(ref num);
|
|
if (Input.GetKeyDown((KeyCode)(-69)))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-49)))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.GGJNPMCAMEJ(num);
|
|
float num2 = 88f;
|
|
this.JGCHFGDAHDH.BCGBDDJFPKG(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)3))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.Hash))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.LLAEJJFNFOC(num2);
|
|
}
|
|
|
|
// Token: 0x0600BA77 RID: 47735 RVA: 0x0037FA2C File Offset: 0x0037DC2C
|
|
private void CDHFBOIDMFA()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.MFBNILMIADA(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA78 RID: 47736 RVA: 0x0037FA84 File Offset: 0x0037DC84
|
|
private void HNLGBNCKDLB()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)14))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().EKEPMODBKOG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA79 RID: 47737 RVA: 0x0037FA9C File Offset: 0x0037DC9C
|
|
private void LHJGNOODHPG()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.IKFEGKPLKKH(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA7A RID: 47738 RVA: 0x0037FAF4 File Offset: 0x0037DCF4
|
|
private void NHDIPGJCFCD()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)71))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.INKEMEGPLII().KIALDJGOJHO(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA7B RID: 47739 RVA: 0x0037FB28 File Offset: 0x0037DD28
|
|
private void EBHMLKMKOCE()
|
|
{
|
|
float num = 930f;
|
|
this.JGCHFGDAHDH.GetMoveScaleMultiplier(ref num);
|
|
if (Input.GetKeyDown((KeyCode)(-113)))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-91)))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.NNMDLPFOKCM(num);
|
|
float num2 = 1175f;
|
|
this.JGCHFGDAHDH.NHGLPHFBIGH(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-107)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)87))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.LFFPFEOOFBN(num2);
|
|
}
|
|
|
|
// Token: 0x0600BA7C RID: 47740 RVA: 0x0037FBD4 File Offset: 0x0037DDD4
|
|
private void IDFLEOCGEKB()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("Ticket");
|
|
}
|
|
else if (componentsInChildren.Length > 1)
|
|
{
|
|
Debug.LogWarning("Data");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("move");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("gizmos");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[1];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA7D RID: 47741 RVA: 0x0037FC6C File Offset: 0x0037DE6C
|
|
private void MOPGCPPFJLL()
|
|
{
|
|
if (Input.GetKeyDown(KeyCode.I))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.OGCLHJFAGAP(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA7E RID: 47742 RVA: 0x0037FCA0 File Offset: 0x0037DEA0
|
|
private void PAKAAPBGNCF()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)28))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.JCCNDGINOBN(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA7F RID: 47743 RVA: 0x0037FCD4 File Offset: 0x0037DED4
|
|
private void KBCHEBHDCFG()
|
|
{
|
|
this.LMGHHAGCHEF();
|
|
this.LJOELBOHMDL();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.EKPNJGNFMED();
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.Clear))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-44)))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA80 RID: 47744 RVA: 0x0037FD50 File Offset: 0x0037DF50
|
|
private void GAOLAABCLLJ()
|
|
{
|
|
this.HNLGBNCKDLB();
|
|
this.PAJMFONOPHH();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.ABMKCIHCJDJ();
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.Slash))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.RightBracket))
|
|
{
|
|
VRSettings.showDeviceView = VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA81 RID: 47745 RVA: 0x0037FDCC File Offset: 0x0037DFCC
|
|
private void PEILEFHDJDO()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.LMJBFEGCHHP(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA82 RID: 47746 RVA: 0x0037FE24 File Offset: 0x0037E024
|
|
private void HHGIHIJFDHL()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning(" failed in a server-side plugin. Check the configuration in the Dashboard. Message from server-plugin: ");
|
|
}
|
|
else if (componentsInChildren.Length > 1)
|
|
{
|
|
Debug.LogWarning("Error: PhotonNetwork.SetInterestGroups was called with an illegal group number: ");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning(". Verify the Prefab is in a Resources folder (and not in a subfolder)");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("Apparel");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA83 RID: 47747 RVA: 0x0037FEBC File Offset: 0x0037E0BC
|
|
private void GAJIGOKKGKH()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-26)))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.ECEOPOCGCAM(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA84 RID: 47748 RVA: 0x0037FEF0 File Offset: 0x0037E0F0
|
|
private void AHDKADHLKML()
|
|
{
|
|
float num = 1058f;
|
|
this.JGCHFGDAHDH.OFHHGCEOIKM(ref num);
|
|
if (Input.GetKeyDown(KeyCode.C))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)69))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.NNMDLPFOKCM(num);
|
|
float num2 = 1165f;
|
|
this.JGCHFGDAHDH.DGCKKHNLKGB(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-4)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.Quote))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.BGBKOJOOLJN(num2);
|
|
}
|
|
|
|
// Token: 0x0600BA85 RID: 47749 RVA: 0x0037FF9C File Offset: 0x0037E19C
|
|
private void HLADMFFFENH()
|
|
{
|
|
this.AGODOAIMFIJ();
|
|
this.CBKGHBKADLH();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.NBCLIONDDDK();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-121)))
|
|
{
|
|
Screen.fullScreen = Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.Pause))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA86 RID: 47750 RVA: 0x00380018 File Offset: 0x0037E218
|
|
private void EEPEOCMOGIL()
|
|
{
|
|
this.CHDKONOIPMG();
|
|
this.LNCMGJCGHFG();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.CMICFLOCGGK();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-192)))
|
|
{
|
|
Screen.fullScreen = Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-19)))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA87 RID: 47751 RVA: 0x00380094 File Offset: 0x0037E294
|
|
private void EAKGKEKHPOI()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = false;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.BMPGGJIHNMD(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA88 RID: 47752 RVA: 0x003800EC File Offset: 0x0037E2EC
|
|
private void CMCJDJMHMKO()
|
|
{
|
|
float num = 1653f;
|
|
this.JGCHFGDAHDH.BECHECOHDHG(ref num);
|
|
if (Input.GetKeyDown(KeyCode.Semicolon))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-74)))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.NNMDLPFOKCM(num);
|
|
float num2 = 1692f;
|
|
this.JGCHFGDAHDH.FENPLPHCJHD(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-117)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-47)))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.FIGAJNPFNCP(num2);
|
|
}
|
|
|
|
// Token: 0x0600BA89 RID: 47753 RVA: 0x00380198 File Offset: 0x0037E398
|
|
private void JKFLOMBCKIL()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("api");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("gclid");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Catch!");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("IAEoCUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA8A RID: 47754 RVA: 0x00380230 File Offset: 0x0037E430
|
|
private void Start()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = false;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.SetOVRCameraController(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA8B RID: 47755 RVA: 0x00380288 File Offset: 0x0037E488
|
|
private void BJDNCDHPCBB()
|
|
{
|
|
float num = 768f;
|
|
this.JGCHFGDAHDH.LDDODMJMGGP(ref num);
|
|
if (Input.GetKeyDown((KeyCode)(-104)))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)1))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetMoveScaleMultiplier(num);
|
|
float num2 = 288f;
|
|
this.JGCHFGDAHDH.EMFKKMLKPCD(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-41)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-36)))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.LFFPFEOOFBN(num2);
|
|
}
|
|
|
|
// Token: 0x0600BA8C RID: 47756 RVA: 0x00380334 File Offset: 0x0037E534
|
|
private void PAJMFONOPHH()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-138)))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.FCODLCHHEFB().ILBLLBIMGLO(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA8D RID: 47757 RVA: 0x00380368 File Offset: 0x0037E568
|
|
private void HLMBIJDCHCI()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)172))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.ECEOPOCGCAM(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA8E RID: 47758 RVA: 0x0038039C File Offset: 0x0037E59C
|
|
private void ONPHOAHJCCN()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)5))
|
|
{
|
|
OVRManager.FCJCJDICHCJ.OKKCHHFNOJG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA8F RID: 47759 RVA: 0x003803B4 File Offset: 0x0037E5B4
|
|
private void IGDMCDLELON()
|
|
{
|
|
this.ICLJJAJACFF();
|
|
this.LNCMGJCGHFG();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.GDDLFBMHIGF();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-60)))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.P))
|
|
{
|
|
VRSettings.showDeviceView = VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA90 RID: 47760 RVA: 0x00380430 File Offset: 0x0037E630
|
|
private void NJLIDBDKGAP()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-90)))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().EKEPMODBKOG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA91 RID: 47761 RVA: 0x00380448 File Offset: 0x0037E648
|
|
private void OGGHIJKMDJC()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-56)))
|
|
{
|
|
OVRManager.FCJCJDICHCJ.EKEPMODBKOG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA92 RID: 47762 RVA: 0x00380460 File Offset: 0x0037E660
|
|
private void GGIACLIPDPH()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-146)))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.INKEMEGPLII().KPCIBCIMIBH(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA93 RID: 47763 RVA: 0x00380494 File Offset: 0x0037E694
|
|
private void ANMJHLOAJPB()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = false;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.EHBPLLCBNAM(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA94 RID: 47764 RVA: 0x003804EC File Offset: 0x0037E6EC
|
|
private void CENMIOJCICJ()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("Resolution : {0} x {1}");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning(" ev=");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning(" is missing a tool component.");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("PORTAL AND ELITE BOTS ONLINE");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA95 RID: 47765 RVA: 0x00380584 File Offset: 0x0037E784
|
|
private void AGODOAIMFIJ()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-115)))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().GIHFGFNPMDM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA96 RID: 47766 RVA: 0x0038059C File Offset: 0x0037E79C
|
|
private void GIMINELAKFC()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.GGLGMFBPBGB(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA97 RID: 47767 RVA: 0x003805F4 File Offset: 0x0037E7F4
|
|
private void GHFAJDCMJAK()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("api/players/");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("_TintColor");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Player is not in Rec Room");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("Token");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[1];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA98 RID: 47768 RVA: 0x0038068C File Offset: 0x0037E88C
|
|
private void NEDFKEGDNHL()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-57)))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().GIHFGFNPMDM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA99 RID: 47769 RVA: 0x003806A4 File Offset: 0x0037E8A4
|
|
private void FIOJJDLGPKK()
|
|
{
|
|
float num = 911f;
|
|
this.JGCHFGDAHDH.OFHHGCEOIKM(ref num);
|
|
if (Input.GetKeyDown((KeyCode)(-75)))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.B))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.OMJLJNFLBJK(num);
|
|
float num2 = 267f;
|
|
this.JGCHFGDAHDH.EMFKKMLKPCD(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-26)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)65))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.AKAAHIMDOPF(num2);
|
|
}
|
|
|
|
// Token: 0x0600BA9A RID: 47770 RVA: 0x00380750 File Offset: 0x0037E950
|
|
private void LDOJCOHPAJH()
|
|
{
|
|
float num = 400f;
|
|
this.JGCHFGDAHDH.OFHHGCEOIKM(ref num);
|
|
if (Input.GetKeyDown((KeyCode)(-39)))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-41)))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.GGJNPMCAMEJ(num);
|
|
float num2 = 83f;
|
|
this.JGCHFGDAHDH.AAGCEBIGKNP(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-61)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)72))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.AKAAHIMDOPF(num2);
|
|
}
|
|
|
|
// Token: 0x0600BA9B RID: 47771 RVA: 0x003807FC File Offset: 0x0037E9FC
|
|
private void BKHPHJMIDFO()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("Item");
|
|
}
|
|
else if (componentsInChildren.Length > 1)
|
|
{
|
|
Debug.LogWarning("StickyData");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("in");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("Jen112");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[1];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA9C RID: 47772 RVA: 0x00380894 File Offset: 0x0037EA94
|
|
private void HALNAHDCABC()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = false;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.EJOJKFBGCFO(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA9D RID: 47773 RVA: 0x003808EC File Offset: 0x0037EAEC
|
|
private void PAKPLLPDIOG()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("BEGIN PS4PlatformManager.PreInitialize()");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("Room Full");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[1];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Could not connect to PSN: ");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("money");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA9E RID: 47774 RVA: 0x00380984 File Offset: 0x0037EB84
|
|
private void CHDKONOIPMG()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-40)))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().OKKCHHFNOJG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BA9F RID: 47775 RVA: 0x0038099C File Offset: 0x0037EB9C
|
|
private void FAGOEHAGDIE()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.FJFAMHKADKB(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA0 RID: 47776 RVA: 0x003809F4 File Offset: 0x0037EBF4
|
|
private void HEKMPKDNNGB()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("EquipmentPrefabName");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("SA_ValuesTween");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Application");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("mode");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA1 RID: 47777 RVA: 0x00380A8C File Offset: 0x0037EC8C
|
|
private void DIOLAEDFPHD()
|
|
{
|
|
float num = 498f;
|
|
this.JGCHFGDAHDH.DBAOPCFPLJE(ref num);
|
|
if (Input.GetKeyDown(KeyCode.Ampersand))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.W))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.NNMDLPFOKCM(num);
|
|
float num2 = 915f;
|
|
this.JGCHFGDAHDH.DNFGKICFNKJ(ref num2);
|
|
if (Input.GetKeyDown(KeyCode.W))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.Slash))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.FIGAJNPFNCP(num2);
|
|
}
|
|
|
|
// Token: 0x0600BAA2 RID: 47778 RVA: 0x00380B38 File Offset: 0x0037ED38
|
|
private void Update()
|
|
{
|
|
this.FICPDNGFPHE();
|
|
this.BLPPONEFPEN();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.GJPHEDGOGNA();
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.F11))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.M))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA3 RID: 47779 RVA: 0x00380BB4 File Offset: 0x0037EDB4
|
|
private void JGEPDIBIJIE()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.GBPLAJAIDOO(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA4 RID: 47780 RVA: 0x00380C0C File Offset: 0x0037EE0C
|
|
private void IGNLHNKGBBD()
|
|
{
|
|
if (Input.GetKeyDown(KeyCode.Quote))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().GIHFGFNPMDM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA5 RID: 47781 RVA: 0x00380C24 File Offset: 0x0037EE24
|
|
private void IABDGAJLFNK()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("_local");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("Error calling OpAuthenticate! Did not work. Check log output, AuthValues and if you're connected. State: ");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("LastVisitedAt");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("Name");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA6 RID: 47782 RVA: 0x00380CBC File Offset: 0x0037EEBC
|
|
private void FICPDNGFPHE()
|
|
{
|
|
if (Input.GetKeyDown(KeyCode.R))
|
|
{
|
|
OVRManager.FCJCJDICHCJ.EKEPMODBKOG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA7 RID: 47783 RVA: 0x00380CD4 File Offset: 0x0037EED4
|
|
private void EPOLJNGHKII()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)79))
|
|
{
|
|
OVRManager.FCJCJDICHCJ.EKEPMODBKOG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA8 RID: 47784 RVA: 0x00380CEC File Offset: 0x0037EEEC
|
|
private void Awake()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("OVRMainMenu: No OVRCameraRig attached.");
|
|
}
|
|
else if (componentsInChildren.Length > 1)
|
|
{
|
|
Debug.LogWarning("OVRMainMenu: More then 1 OVRCameraRig attached.");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("OVRMainMenu: No OVRPlayerController attached.");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("OVRMainMenu: More then 1 OVRPlayerController attached.");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAA9 RID: 47785 RVA: 0x00380D84 File Offset: 0x0037EF84
|
|
private void ABMKCIHCJDJ()
|
|
{
|
|
float num = 1269f;
|
|
this.JGCHFGDAHDH.DBAOPCFPLJE(ref num);
|
|
if (Input.GetKeyDown(KeyCode.At))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-68)))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.NNMDLPFOKCM(num);
|
|
float num2 = 476f;
|
|
this.JGCHFGDAHDH.GetRotationScaleMultiplier(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)125))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.Clear))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.LFFPFEOOFBN(num2);
|
|
}
|
|
|
|
// Token: 0x0600BAAA RID: 47786 RVA: 0x00380E30 File Offset: 0x0037F030
|
|
private void KJBPHNKFCAM()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("TeleportRegion");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("Bought duplicate gift!");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[1];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Age");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("New avatar item count : ");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[1];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAAB RID: 47787 RVA: 0x00380EC8 File Offset: 0x0037F0C8
|
|
private void LMGHHAGCHEF()
|
|
{
|
|
if (Input.GetKeyDown(KeyCode.Exclaim))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().GIHFGFNPMDM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAAC RID: 47788 RVA: 0x00380EE0 File Offset: 0x0037F0E0
|
|
private void GJPHEDGOGNA()
|
|
{
|
|
float num = 0f;
|
|
this.JGCHFGDAHDH.GetMoveScaleMultiplier(ref num);
|
|
if (Input.GetKeyDown(KeyCode.Alpha7))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.Alpha8))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetMoveScaleMultiplier(num);
|
|
float num2 = 0f;
|
|
this.JGCHFGDAHDH.GetRotationScaleMultiplier(ref num2);
|
|
if (Input.GetKeyDown(KeyCode.Alpha9))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.Alpha0))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetRotationScaleMultiplier(num2);
|
|
}
|
|
|
|
// Token: 0x0600BAAD RID: 47789 RVA: 0x00380F8C File Offset: 0x0037F18C
|
|
private void FAEEJHDODMH()
|
|
{
|
|
if (Input.GetKeyDown(KeyCode.Period))
|
|
{
|
|
OVRManager.HDHLKCIMJCG().EKEPMODBKOG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAAE RID: 47790 RVA: 0x00380FA4 File Offset: 0x0037F1A4
|
|
private void APMHLBDPALM()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)31))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.FCODLCHHEFB().DGEHLFIMPCN(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAAF RID: 47791 RVA: 0x00380FD8 File Offset: 0x0037F1D8
|
|
private void IKFCLMNDGPF()
|
|
{
|
|
this.CHDKONOIPMG();
|
|
this.PAJMFONOPHH();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.CMCJDJMHMKO();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-45)))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-26)))
|
|
{
|
|
VRSettings.showDeviceView = VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB0 RID: 47792 RVA: 0x00381054 File Offset: 0x0037F254
|
|
private void MOAAJAOGKEO()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = false;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.PLFIHKOHPHC(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB1 RID: 47793 RVA: 0x003810AC File Offset: 0x0037F2AC
|
|
private void NKNLDGGOFPE()
|
|
{
|
|
float num = 1746f;
|
|
this.JGCHFGDAHDH.LDDODMJMGGP(ref num);
|
|
if (Input.GetKeyDown((KeyCode)89))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.Escape))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.OMJLJNFLBJK(num);
|
|
float num2 = 350f;
|
|
this.JGCHFGDAHDH.BCGBDDJFPKG(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-22)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-120)))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetRotationScaleMultiplier(num2);
|
|
}
|
|
|
|
// Token: 0x0600BAB2 RID: 47794 RVA: 0x00381158 File Offset: 0x0037F358
|
|
private void HNGBEOEJBFO()
|
|
{
|
|
this.FBGOCHEEBJD();
|
|
this.MAGEPIGBFAL();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.ABMKCIHCJDJ();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-161)))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)87))
|
|
{
|
|
VRSettings.showDeviceView = VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB3 RID: 47795 RVA: 0x003811D4 File Offset: 0x0037F3D4
|
|
private void FILJGBBGDEP()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)186))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.INKEMEGPLII().EBPOFHNOCEG = this.OIPIPLJCIFJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB4 RID: 47796 RVA: 0x00381208 File Offset: 0x0037F408
|
|
private void HKBNFKNLICF()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("z");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("{0} ft {1} in");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("F2");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("Players teleport or walk in to volumes.");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[1];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB5 RID: 47797 RVA: 0x003812A0 File Offset: 0x0037F4A0
|
|
private void ENGNDJADBDF()
|
|
{
|
|
this.FFHHLNEMGCA();
|
|
this.APGOLEGJMAC();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.CMICFLOCGGK();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-154)))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)69))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB6 RID: 47798 RVA: 0x0038131C File Offset: 0x0037F51C
|
|
private void DHAEEPCMCMI()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("HoverLock ");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("amount");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[1];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("SWITCHING TEAMS");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("[ACTk] WallHack Detector: already running!");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB7 RID: 47799 RVA: 0x003813B4 File Offset: 0x0037F5B4
|
|
private void CBKGHBKADLH()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-18)))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.INKEMEGPLII().DGFGPJBOHJE(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB8 RID: 47800 RVA: 0x003813E8 File Offset: 0x0037F5E8
|
|
private void EOJAKFNAPJP()
|
|
{
|
|
this.NJLIDBDKGAP();
|
|
this.GGIACLIPDPH();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.CMCJDJMHMKO();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-181)))
|
|
{
|
|
Screen.fullScreen = Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-8)))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAB9 RID: 47801 RVA: 0x00381464 File Offset: 0x0037F664
|
|
private void CMICFLOCGGK()
|
|
{
|
|
float num = 435f;
|
|
this.JGCHFGDAHDH.DBAOPCFPLJE(ref num);
|
|
if (Input.GetKeyDown((KeyCode)24))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-44)))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetMoveScaleMultiplier(num);
|
|
float num2 = 1421f;
|
|
this.JGCHFGDAHDH.EMFKKMLKPCD(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-70)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)74))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetRotationScaleMultiplier(num2);
|
|
}
|
|
|
|
// Token: 0x0600BABA RID: 47802 RVA: 0x00381510 File Offset: 0x0037F710
|
|
private void MAGEPIGBFAL()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)177))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.INKEMEGPLII().EBPOFHNOCEG = this.OIPIPLJCIFJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BABB RID: 47803 RVA: 0x00381544 File Offset: 0x0037F744
|
|
private void BLPPONEFPEN()
|
|
{
|
|
if (Input.GetKeyDown(KeyCode.F2))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.EBPOFHNOCEG = this.OIPIPLJCIFJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BABC RID: 47804 RVA: 0x00381578 File Offset: 0x0037F778
|
|
private void FLIBGBGHKCG()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = false;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.FGKLCNOEGAA(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BABD RID: 47805 RVA: 0x003815D0 File Offset: 0x0037F7D0
|
|
private void FBGOCHEEBJD()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-59)))
|
|
{
|
|
OVRManager.FCJCJDICHCJ.GIHFGFNPMDM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BABE RID: 47806 RVA: 0x003815E8 File Offset: 0x0037F7E8
|
|
private void EKPNJGNFMED()
|
|
{
|
|
float num = 962f;
|
|
this.JGCHFGDAHDH.DBAOPCFPLJE(ref num);
|
|
if (Input.GetKeyDown((KeyCode)88))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown(KeyCode.Z))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetMoveScaleMultiplier(num);
|
|
float num2 = 1752f;
|
|
this.JGCHFGDAHDH.AAGCEBIGKNP(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)(-100)))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-109)))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetRotationScaleMultiplier(num2);
|
|
}
|
|
|
|
// Token: 0x0600BABF RID: 47807 RVA: 0x00381694 File Offset: 0x0037F894
|
|
private void IBJNBGMLELF()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = false;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.SetOVRCameraController(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC0 RID: 47808 RVA: 0x003816EC File Offset: 0x0037F8EC
|
|
private void DHKOHMJLFCA()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("stats on");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning("Draw Remote Mesh");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("2017.10.25");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("Obscured Vars Cheating Detected!");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[1];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC1 RID: 47809 RVA: 0x00381784 File Offset: 0x0037F984
|
|
private void BOFMPPGNKAI()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("?");
|
|
}
|
|
else if (componentsInChildren.Length > 1)
|
|
{
|
|
Debug.LogWarning("RpcDetach");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Tween Error: Hash requires an even number of arguments!");
|
|
}
|
|
else if (componentsInChildren2.Length > 0)
|
|
{
|
|
Debug.LogWarning("Assets");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC2 RID: 47810 RVA: 0x0038181C File Offset: 0x0037FA1C
|
|
private void OEKOPBDDGCK()
|
|
{
|
|
this.OGGHIJKMDJC();
|
|
this.NHDIPGJCFCD();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.LDOJCOHPAJH();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-56)))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-99)))
|
|
{
|
|
VRSettings.showDeviceView = VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC3 RID: 47811 RVA: 0x00381898 File Offset: 0x0037FA98
|
|
private void LNCMGJCGHFG()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-110)))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.DGFGPJBOHJE(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC4 RID: 47812 RVA: 0x003818CC File Offset: 0x0037FACC
|
|
private void KGHEACCGPEE()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.None;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.ELNIKFIDEAA(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC5 RID: 47813 RVA: 0x00381924 File Offset: 0x0037FB24
|
|
private void LGLJMEBFLDH()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.PHGHNMOLCCO(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC7 RID: 47815 RVA: 0x003819AC File Offset: 0x0037FBAC
|
|
private void APGOLEGJMAC()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)68))
|
|
{
|
|
this.OIPIPLJCIFJ ^= this.OIPIPLJCIFJ;
|
|
OVRManager.COCLIPMPEBH.DKDPEPBKCPA(this.OIPIPLJCIFJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC8 RID: 47816 RVA: 0x003819E0 File Offset: 0x0037FBE0
|
|
private void FGBJJONEBDC()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = false;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.EJOJKFBGCFO(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BAC9 RID: 47817 RVA: 0x00381A38 File Offset: 0x0037FC38
|
|
private void PONDPPDHJOM()
|
|
{
|
|
this.ICLJJAJACFF();
|
|
this.NHDIPGJCFCD();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.CMICFLOCGGK();
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)193))
|
|
{
|
|
Screen.fullScreen = Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown((KeyCode)(-100)))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BACA RID: 47818 RVA: 0x00381AB4 File Offset: 0x0037FCB4
|
|
private void GLBKBCBIOFJ()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("amount");
|
|
}
|
|
else if (componentsInChildren.Length > 1)
|
|
{
|
|
Debug.LogWarning("Resolution");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[1];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Ignoring Connect() because app gets closed. If this is an error, check PhotonHandler.AppQuits.");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("Invalid number of arguments passed to ActionEvent.Invoke()");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[0];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BACB RID: 47819 RVA: 0x00381B4C File Offset: 0x0037FD4C
|
|
private void FKIJGJJNLOK()
|
|
{
|
|
if (!Application.isEditor)
|
|
{
|
|
Cursor.visible = true;
|
|
Cursor.lockState = CursorLockMode.Locked;
|
|
}
|
|
if (this.JOCGFOHKAIJ != null)
|
|
{
|
|
this.IMILKMCKHKA = base.gameObject.AddComponent<OVRGridCube>();
|
|
this.IMILKMCKHKA.GGLGMFBPBGB(ref this.JOCGFOHKAIJ);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BACC RID: 47820 RVA: 0x00381BA4 File Offset: 0x0037FDA4
|
|
private void LCJNAKGMOLE()
|
|
{
|
|
this.EPOLJNGHKII();
|
|
this.JAPDFDJBJEJ();
|
|
if (this.JGCHFGDAHDH != null)
|
|
{
|
|
this.LDOJCOHPAJH();
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.LeftParen))
|
|
{
|
|
Screen.fullScreen = !Screen.fullScreen;
|
|
}
|
|
if (Input.GetKeyDown(KeyCode.I))
|
|
{
|
|
VRSettings.showDeviceView = !VRSettings.showDeviceView;
|
|
}
|
|
if (Input.GetKeyDown(this.quitKey))
|
|
{
|
|
Application.Quit();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BACD RID: 47821 RVA: 0x00381C20 File Offset: 0x0037FE20
|
|
private void GDDLFBMHIGF()
|
|
{
|
|
float num = 524f;
|
|
this.JGCHFGDAHDH.DBAOPCFPLJE(ref num);
|
|
if (Input.GetKeyDown((KeyCode)(-18)))
|
|
{
|
|
num -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)84))
|
|
{
|
|
num += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.NNMDLPFOKCM(num);
|
|
float num2 = 1596f;
|
|
this.JGCHFGDAHDH.DGCKKHNLKGB(ref num2);
|
|
if (Input.GetKeyDown((KeyCode)88))
|
|
{
|
|
num2 -= this.speedRotationIncrement;
|
|
}
|
|
else if (Input.GetKeyDown((KeyCode)(-52)))
|
|
{
|
|
num2 += this.speedRotationIncrement;
|
|
}
|
|
this.JGCHFGDAHDH.SetRotationScaleMultiplier(num2);
|
|
}
|
|
|
|
// Token: 0x0600BACE RID: 47822 RVA: 0x00381CCC File Offset: 0x0037FECC
|
|
private void ONOHBEONIKM()
|
|
{
|
|
OVRCameraRig[] componentsInChildren = base.gameObject.GetComponentsInChildren<OVRCameraRig>();
|
|
if (componentsInChildren.Length == 0)
|
|
{
|
|
Debug.LogWarning("TeleportRegion");
|
|
}
|
|
else if (componentsInChildren.Length > 0)
|
|
{
|
|
Debug.LogWarning(" removed");
|
|
}
|
|
else
|
|
{
|
|
this.JOCGFOHKAIJ = componentsInChildren[0];
|
|
}
|
|
OVRPlayerController[] componentsInChildren2 = base.gameObject.GetComponentsInChildren<OVRPlayerController>();
|
|
if (componentsInChildren2.Length == 0)
|
|
{
|
|
Debug.LogWarning("Can't authenticate on front end server. Authentication Values are not set");
|
|
}
|
|
else if (componentsInChildren2.Length > 1)
|
|
{
|
|
Debug.LogWarning("Ignoring Connect() because app gets closed. If this is an error, check PhotonHandler.AppQuits.");
|
|
}
|
|
else
|
|
{
|
|
this.JGCHFGDAHDH = componentsInChildren2[1];
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BACF RID: 47823 RVA: 0x00381D64 File Offset: 0x0037FF64
|
|
private void ICLJJAJACFF()
|
|
{
|
|
if (Input.GetKeyDown((KeyCode)(-97)))
|
|
{
|
|
OVRManager.FCJCJDICHCJ.OKKCHHFNOJG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x04001949 RID: 6473
|
|
public KeyCode quitKey = KeyCode.Escape;
|
|
|
|
// Token: 0x0400194A RID: 6474
|
|
public Texture fadeInTexture;
|
|
|
|
// Token: 0x0400194B RID: 6475
|
|
public float speedRotationIncrement = 0.05f;
|
|
|
|
// Token: 0x0400194C RID: 6476
|
|
private OVRPlayerController JGCHFGDAHDH;
|
|
|
|
// Token: 0x0400194D RID: 6477
|
|
private OVRCameraRig JOCGFOHKAIJ;
|
|
|
|
// Token: 0x0400194E RID: 6478
|
|
public string layerName = "Default";
|
|
|
|
// Token: 0x0400194F RID: 6479
|
|
private bool OIPIPLJCIFJ = true;
|
|
|
|
// Token: 0x04001950 RID: 6480
|
|
private OVRGridCube IMILKMCKHKA;
|
|
}
|