47 lines
1.2 KiB
C#
47 lines
1.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core
|
|
{
|
|
// Token: 0x020027C6 RID: 10182
|
|
[Token(Token = "0x20027C6")]
|
|
[RequireComponent(typeof(Light))]
|
|
[StructLayout(3)]
|
|
public class PlatformDisableShadows : MonoBehaviour
|
|
{
|
|
// Token: 0x06011D4D RID: 73037 RVA: 0x00442470 File Offset: 0x00440670
|
|
[Token(Token = "0x6011D4D")]
|
|
[Address(RVA = "0x19AB000", Offset = "0x19A9A00", VA = "0x1819AB000")]
|
|
private void Awake()
|
|
{
|
|
if (this.platforms.Length != 0)
|
|
{
|
|
PlatformManager instance = SingletonMonoBehaviour.Instance;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
Light component = base.GetComponent<Light>();
|
|
int num = 0;
|
|
component.shadows = (LightShadows)num;
|
|
}
|
|
return;
|
|
}
|
|
Debug.LogError("PlatformDisableComponents requires at least one specified platform.");
|
|
}
|
|
|
|
// Token: 0x06011D4E RID: 73038 RVA: 0x004424B8 File Offset: 0x004406B8
|
|
[Token(Token = "0x6011D4E")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public PlatformDisableShadows()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400BEED RID: 48877
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400BEED")]
|
|
public PlatformManager.FCIKKFJOMNO[] platforms;
|
|
}
|
|
}
|