49 lines
1.6 KiB
C#
49 lines
1.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace MTAssets.UltimateLODSystem
|
|
{
|
|
// Token: 0x02000644 RID: 1604
|
|
[Token(Token = "0x2000644")]
|
|
public class ChangeLodAutoManagement : MonoBehaviour
|
|
{
|
|
// Token: 0x0600328D RID: 12941 RVA: 0x0006CBD8 File Offset: 0x0006ADD8
|
|
[Token(Token = "0x600328D")]
|
|
[Address(RVA = "0xB92DC0", Offset = "0xB91DC0", VA = "0x180B92DC0")]
|
|
private void Update()
|
|
{
|
|
this.buttonText.text = "Disable Global Ultimate LOD System";
|
|
this.explanation.text = "ULOD System is Enabled. Consult the documentation for more details on the feature of enabling/disabling the ULOD system while the game is running.";
|
|
this.buttonText.text = "Enable Global Ultimate LOD System";
|
|
((ICanvasElement)this.explanation).GraphicUpdateComplete();
|
|
}
|
|
|
|
// Token: 0x0600328E RID: 12942 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x600328E")]
|
|
[Address(RVA = "0xB92FA0", Offset = "0xB91FA0", VA = "0x180B92FA0")]
|
|
public void buttonEnableAutoManagement()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600328F RID: 12943 RVA: 0x0006CC28 File Offset: 0x0006AE28
|
|
[Token(Token = "0x600328F")]
|
|
[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
|
|
public ChangeLodAutoManagement()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003CF3 RID: 15603
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4003CF3")]
|
|
public Text buttonText;
|
|
|
|
// Token: 0x04003CF4 RID: 15604
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4003CF4")]
|
|
public Text explanation;
|
|
}
|
|
}
|