m
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AGUI.StackedUI
|
||||
{
|
||||
// Token: 0x020011BD RID: 4541
|
||||
[Token(Token = "0x20011BD")]
|
||||
public class EnableIfRadioButtonIsCurrent : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0600657D RID: 25981 RVA: 0x0015FB00 File Offset: 0x0015DD00
|
||||
[Token(Token = "0x600657D")]
|
||||
[Address(RVA = "0x17CC0E0", Offset = "0x17CB0E0", VA = "0x1817CC0E0")]
|
||||
private void Awake()
|
||||
{
|
||||
RadioButton3D radioButton3D = this.button;
|
||||
int num = 0;
|
||||
if (radioButton3D == num)
|
||||
{
|
||||
RadioButton3D componentInParent = base.GetComponentInParent<RadioButton3D>();
|
||||
this.button = componentInParent;
|
||||
}
|
||||
if (this.button)
|
||||
{
|
||||
RadioButton3D radioButton3D2 = this.button;
|
||||
Action action = new Action(this.GGBNLGOCEMD);
|
||||
radioButton3D2.IMDPAIKINJA += action;
|
||||
if (this.button != 0)
|
||||
{
|
||||
}
|
||||
int num2 = 0;
|
||||
GameObject gameObject = base.gameObject;
|
||||
bool flag = num2 != 0;
|
||||
gameObject.SetActive(flag);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600657E RID: 25982 RVA: 0x0015FB88 File Offset: 0x0015DD88
|
||||
[Token(Token = "0x600657E")]
|
||||
[Address(RVA = "0x17CC210", Offset = "0x17CB210", VA = "0x1817CC210")]
|
||||
private void GGBNLGOCEMD()
|
||||
{
|
||||
if (this.button != 0)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
GameObject gameObject = base.gameObject;
|
||||
bool flag = num != 0;
|
||||
gameObject.SetActive(flag);
|
||||
}
|
||||
|
||||
// Token: 0x0600657F RID: 25983 RVA: 0x0015FBBC File Offset: 0x0015DDBC
|
||||
[Token(Token = "0x600657F")]
|
||||
[Address(RVA = "0x17CC260", Offset = "0x17CB260", VA = "0x1817CC260")]
|
||||
private void OnDestroy()
|
||||
{
|
||||
if (this.button)
|
||||
{
|
||||
RadioButton3D radioButton3D = this.button;
|
||||
Action action = new Action(this.GGBNLGOCEMD);
|
||||
radioButton3D.IMDPAIKINJA -= action;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06006580 RID: 25984 RVA: 0x0015FBF8 File Offset: 0x0015DDF8
|
||||
[Token(Token = "0x6006580")]
|
||||
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
||||
public EnableIfRadioButtonIsCurrent()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400425A RID: 16986
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400425A")]
|
||||
[SerializeField]
|
||||
private RadioButton3D button;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user