Files
Dec2017-Script-Dump/Assembly-CSharp/MainTextureOverride.cs
T
2026-06-04 11:42:34 +02:00

868 lines
20 KiB
C#

using System;
using UnityEngine;
// Token: 0x0200113E RID: 4414
public class MainTextureOverride : MonoBehaviour
{
// Token: 0x06025BD1 RID: 154577 RVA: 0x00A78B6C File Offset: 0x00A76D6C
private void KFMEHMEDGBE()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BD2 RID: 154578 RVA: 0x00A78C10 File Offset: 0x00A76E10
private void EHHPCGOOPLD()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BD3 RID: 154579 RVA: 0x00A78CB4 File Offset: 0x00A76EB4
private void EBMACIPLEOE()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BD4 RID: 154580 RVA: 0x00A78D58 File Offset: 0x00A76F58
private void Start()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BD5 RID: 154581 RVA: 0x00A78DFC File Offset: 0x00A76FFC
private void EONMIHOPPOJ()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BD6 RID: 154582 RVA: 0x00A78EA0 File Offset: 0x00A770A0
private void CBNFIOBLLIH()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BD7 RID: 154583 RVA: 0x00A78F44 File Offset: 0x00A77144
private void GMBFJHIHJFB()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BD8 RID: 154584 RVA: 0x00A78FE8 File Offset: 0x00A771E8
private void EGKGBDDMDDA()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BD9 RID: 154585 RVA: 0x00A7908C File Offset: 0x00A7728C
private void OCEJENEOCJK()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BDA RID: 154586 RVA: 0x00A79130 File Offset: 0x00A77330
private void CAMGAFPKAMM()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BDB RID: 154587 RVA: 0x00A791D4 File Offset: 0x00A773D4
private void FLIBGBGHKCG()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BDC RID: 154588 RVA: 0x00A79278 File Offset: 0x00A77478
private void EAKGKEKHPOI()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BDD RID: 154589 RVA: 0x00A7931C File Offset: 0x00A7751C
private void OMKBNLGFNIL()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BDE RID: 154590 RVA: 0x00A793C0 File Offset: 0x00A775C0
private void KCKPOOJHBNO()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BDF RID: 154591 RVA: 0x00A79464 File Offset: 0x00A77664
private void PAEIJLKEEGJ()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE0 RID: 154592 RVA: 0x00A79508 File Offset: 0x00A77708
private void AMCANMJHAEH()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE1 RID: 154593 RVA: 0x00A795AC File Offset: 0x00A777AC
private void MOAAJAOGKEO()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE2 RID: 154594 RVA: 0x00A79650 File Offset: 0x00A77850
private void CJIBCBLNGGM()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE3 RID: 154595 RVA: 0x00A796F4 File Offset: 0x00A778F4
private void DEBKBIIGAAN()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE4 RID: 154596 RVA: 0x00A79798 File Offset: 0x00A77998
private void FAGOEHAGDIE()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE5 RID: 154597 RVA: 0x00A7983C File Offset: 0x00A77A3C
private void KFAOLMFIFMH()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE7 RID: 154599 RVA: 0x00A798E8 File Offset: 0x00A77AE8
private void BABKFIKEOCG()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE8 RID: 154600 RVA: 0x00A7998C File Offset: 0x00A77B8C
private void KOKOKCHBFPP()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BE9 RID: 154601 RVA: 0x00A79A30 File Offset: 0x00A77C30
private void KDBBACLJIAP()
{
Texture2D texture2D = null;
switch (ControllerIO.OLCOCPIALFA)
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BEA RID: 154602 RVA: 0x00A79AD4 File Offset: 0x00A77CD4
private void DJAGKCMBIEJ()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.Debug:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x06025BEB RID: 154603 RVA: 0x00A79B78 File Offset: 0x00A77D78
private void FGCPHGJDALF()
{
Texture2D texture2D = null;
switch (ControllerIO.AOCAKBPHKEN())
{
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
texture2D = this.steamVrVive;
break;
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
texture2D = this.steamVrOculus;
break;
case ControllerIO.DNOKPKDGGKB.Oculus:
texture2D = this.oculus;
break;
case ControllerIO.DNOKPKDGGKB.PS4_Move:
texture2D = this.ps4Move;
break;
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
texture2D = this.microsoftVr;
break;
}
if (texture2D == null)
{
texture2D = this.defaultTexture;
}
if (texture2D != null)
{
this.renderer.material.mainTexture = texture2D;
}
}
// Token: 0x04005F65 RID: 24421
[SerializeField]
private Renderer renderer;
// Token: 0x04005F66 RID: 24422
[SerializeField]
[Header("Texture Overrides")]
private Texture2D defaultTexture;
// Token: 0x04005F67 RID: 24423
[SerializeField]
private Texture2D steamVrVive;
// Token: 0x04005F68 RID: 24424
[SerializeField]
private Texture2D steamVrOculus;
// Token: 0x04005F69 RID: 24425
[SerializeField]
private Texture2D oculus;
// Token: 0x04005F6A RID: 24426
[SerializeField]
private Texture2D ps4Move;
// Token: 0x04005F6B RID: 24427
[SerializeField]
private Texture2D microsoftVr;
}