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: 0x020005F5 RID: 1525
|
|
[Token(Token = "0x20005F5")]
|
|
public class ChangeLodAutoManagement : MonoBehaviour
|
|
{
|
|
// Token: 0x06002FF6 RID: 12278 RVA: 0x00065B04 File Offset: 0x00063D04
|
|
[Token(Token = "0x6002FF6")]
|
|
[Address(RVA = "0x10863E0", Offset = "0x1084BE0", VA = "0x1810863E0")]
|
|
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";
|
|
bool flag = ((ICanvasElement)this.explanation).IsDestroyed();
|
|
}
|
|
|
|
// Token: 0x06002FF7 RID: 12279 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002FF7")]
|
|
[Address(RVA = "0x10865C0", Offset = "0x1084DC0", VA = "0x1810865C0")]
|
|
public void buttonEnableAutoManagement()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002FF8 RID: 12280 RVA: 0x00065B54 File Offset: 0x00063D54
|
|
[Token(Token = "0x6002FF8")]
|
|
[Address(RVA = "0x33E460", Offset = "0x33CC60", VA = "0x18033E460")]
|
|
public ChangeLodAutoManagement()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003A4B RID: 14923
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4003A4B")]
|
|
public Text buttonText;
|
|
|
|
// Token: 0x04003A4C RID: 14924
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4003A4C")]
|
|
public Text explanation;
|
|
}
|
|
}
|