79 lines
2.0 KiB
C#
79 lines
2.0 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x020010F0 RID: 4336
|
|
[Token(Token = "0x20010F0")]
|
|
public class EnableIfRadioButtonIsCurrent : MonoBehaviour
|
|
{
|
|
// Token: 0x06006227 RID: 25127 RVA: 0x00157D44 File Offset: 0x00155F44
|
|
[Token(Token = "0x6006227")]
|
|
[Address(RVA = "0xCCD2E0", Offset = "0xCCC0E0", VA = "0x180CCD2E0")]
|
|
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: 0x06006228 RID: 25128 RVA: 0x00157DCC File Offset: 0x00155FCC
|
|
[Token(Token = "0x6006228")]
|
|
[Address(RVA = "0xCCD410", Offset = "0xCCC210", VA = "0x180CCD410")]
|
|
private void GGBNLGOCEMD()
|
|
{
|
|
if (this.button != 0)
|
|
{
|
|
}
|
|
int num = 0;
|
|
GameObject gameObject = base.gameObject;
|
|
bool flag = num != 0;
|
|
gameObject.SetActive(flag);
|
|
}
|
|
|
|
// Token: 0x06006229 RID: 25129 RVA: 0x00157E00 File Offset: 0x00156000
|
|
[Token(Token = "0x6006229")]
|
|
[Address(RVA = "0xCCD460", Offset = "0xCCC260", VA = "0x180CCD460")]
|
|
private void OnDestroy()
|
|
{
|
|
if (this.button)
|
|
{
|
|
RadioButton3D radioButton3D = this.button;
|
|
Action action = new Action(this.GGBNLGOCEMD);
|
|
radioButton3D.IMDPAIKINJA -= action;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600622A RID: 25130 RVA: 0x00157E3C File Offset: 0x0015603C
|
|
[Token(Token = "0x600622A")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public EnableIfRadioButtonIsCurrent()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040040E6 RID: 16614
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40040E6")]
|
|
[SerializeField]
|
|
private RadioButton3D button;
|
|
}
|
|
}
|