603 lines
15 KiB
C#
603 lines
15 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace AGUI.StackedUI
|
|
{
|
|
// Token: 0x02001076 RID: 4214
|
|
public class ToggleGroup3D : MonoBehaviour
|
|
{
|
|
// Token: 0x060239CE RID: 145870 RVA: 0x009B3D04 File Offset: 0x009B1F04
|
|
private void ONKCFGIOGCF()
|
|
{
|
|
IEnumerator enumerator = base.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
ToggleButton3D component = transform.GetComponent<ToggleButton3D>();
|
|
if (component != null)
|
|
{
|
|
this.CEBBAOJOIDO(component);
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239CF RID: 145871 RVA: 0x009B3D7C File Offset: 0x009B1F7C
|
|
private void EPMEDDGKNMM(ToggleButton3D ILOFENDAFLM, bool AMPFCDLCDAH)
|
|
{
|
|
if (AMPFCDLCDAH)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (ILOFENDAFLM != toggleButton3D)
|
|
{
|
|
toggleButton3D.ONHPCDALCPG();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239D0 RID: 145872 RVA: 0x009B3DEC File Offset: 0x009B1FEC
|
|
public void ADKDMONEILK(List<ToggleButton3D> MEACFJOKHCN)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in MEACFJOKHCN)
|
|
{
|
|
this.KBBEAHMEGJA(toggleButton3D);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239D1 RID: 145873 RVA: 0x009B3E44 File Offset: 0x009B2044
|
|
private void NGNFEBMIOOA(ToggleButton3D ILOFENDAFLM, bool AMPFCDLCDAH)
|
|
{
|
|
if (AMPFCDLCDAH)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (ILOFENDAFLM != toggleButton3D)
|
|
{
|
|
toggleButton3D.JJFCJCBJKJI();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239D2 RID: 145874 RVA: 0x009B3EB4 File Offset: 0x009B20B4
|
|
private void GJGEACMGLKP()
|
|
{
|
|
IEnumerator enumerator = base.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
ToggleButton3D component = transform.GetComponent<ToggleButton3D>();
|
|
if (component != null)
|
|
{
|
|
this.KBBEAHMEGJA(component);
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239D3 RID: 145875 RVA: 0x009B3F2C File Offset: 0x009B212C
|
|
public List<ToggleButton3D> HJCHKHFEHKK()
|
|
{
|
|
return this.buttonGroup;
|
|
}
|
|
|
|
// Token: 0x060239D4 RID: 145876 RVA: 0x009B3F34 File Offset: 0x009B2134
|
|
private void CADJBBNKFIL()
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (toggleButton3D != null)
|
|
{
|
|
toggleButton3D.IPGKOCOPFPK(new Action<ToggleButton3D, bool>(this.LCBLOCHALDK));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239D5 RID: 145877 RVA: 0x009B3FA8 File Offset: 0x009B21A8
|
|
private void JHCLJIABPPJ()
|
|
{
|
|
IEnumerator enumerator = base.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
ToggleButton3D component = transform.GetComponent<ToggleButton3D>();
|
|
if (component != null)
|
|
{
|
|
this.AFECKCOOCDB(component);
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239D6 RID: 145878 RVA: 0x009B4020 File Offset: 0x009B2220
|
|
public void AddButtons(List<ToggleButton3D> MEACFJOKHCN)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in MEACFJOKHCN)
|
|
{
|
|
this.AddButton(toggleButton3D);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239D7 RID: 145879 RVA: 0x009B4078 File Offset: 0x009B2278
|
|
public void JMHJNBMEJMH(List<ToggleButton3D> MEACFJOKHCN)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in MEACFJOKHCN)
|
|
{
|
|
this.AddButton(toggleButton3D);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239D8 RID: 145880 RVA: 0x009B40D0 File Offset: 0x009B22D0
|
|
public void PCPBGCHJEAE(ToggleButton3D POBFKADFFJH)
|
|
{
|
|
if (!this.buttonGroup.Contains(POBFKADFFJH))
|
|
{
|
|
this.buttonGroup.Add(POBFKADFFJH);
|
|
}
|
|
POBFKADFFJH.KMMIMEKCOHA(new Action<ToggleButton3D, bool>(this.NGNFEBMIOOA));
|
|
}
|
|
|
|
// Token: 0x060239D9 RID: 145881 RVA: 0x009B4104 File Offset: 0x009B2304
|
|
public List<ToggleButton3D> MHOGAKAHIPM()
|
|
{
|
|
return this.buttonGroup;
|
|
}
|
|
|
|
// Token: 0x060239DA RID: 145882 RVA: 0x009B410C File Offset: 0x009B230C
|
|
private void DCHMGHLADMO(ToggleButton3D ILOFENDAFLM, bool AMPFCDLCDAH)
|
|
{
|
|
if (AMPFCDLCDAH)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (ILOFENDAFLM != toggleButton3D)
|
|
{
|
|
toggleButton3D.JJFCJCBJKJI();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239DB RID: 145883 RVA: 0x009B417C File Offset: 0x009B237C
|
|
public List<ToggleButton3D> CCCCDDLEMHE()
|
|
{
|
|
return this.buttonGroup;
|
|
}
|
|
|
|
// Token: 0x060239DC RID: 145884 RVA: 0x009B4184 File Offset: 0x009B2384
|
|
public void AddButton(ToggleButton3D POBFKADFFJH)
|
|
{
|
|
if (!this.buttonGroup.Contains(POBFKADFFJH))
|
|
{
|
|
this.buttonGroup.Add(POBFKADFFJH);
|
|
}
|
|
POBFKADFFJH.PBBLIFJGPCL += this.PBBLIFJGPCL;
|
|
}
|
|
|
|
// Token: 0x060239DD RID: 145885 RVA: 0x009B41B8 File Offset: 0x009B23B8
|
|
public List<ToggleButton3D> BPBMMBDPKNB()
|
|
{
|
|
return this.buttonGroup;
|
|
}
|
|
|
|
// Token: 0x060239DE RID: 145886 RVA: 0x009B41C0 File Offset: 0x009B23C0
|
|
private void Awake()
|
|
{
|
|
IEnumerator enumerator = base.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
ToggleButton3D component = transform.GetComponent<ToggleButton3D>();
|
|
if (component != null)
|
|
{
|
|
this.AddButton(component);
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239DF RID: 145887 RVA: 0x009B4238 File Offset: 0x009B2438
|
|
public void NPNJNHGFBPM(List<ToggleButton3D> MEACFJOKHCN)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in MEACFJOKHCN)
|
|
{
|
|
this.AddButton(toggleButton3D);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239E1 RID: 145889 RVA: 0x009B42A4 File Offset: 0x009B24A4
|
|
private void LCBLOCHALDK(ToggleButton3D ILOFENDAFLM, bool AMPFCDLCDAH)
|
|
{
|
|
if (AMPFCDLCDAH)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (ILOFENDAFLM != toggleButton3D)
|
|
{
|
|
toggleButton3D.KJFLIJCFNGG();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239E2 RID: 145890 RVA: 0x009B4314 File Offset: 0x009B2514
|
|
public void EBOPILOHPHF(ToggleButton3D POBFKADFFJH)
|
|
{
|
|
if (!this.buttonGroup.Contains(POBFKADFFJH))
|
|
{
|
|
this.buttonGroup.Add(POBFKADFFJH);
|
|
}
|
|
POBFKADFFJH.AMAEFHEFDIB(new Action<ToggleButton3D, bool>(this.AKOEJLFLGHI));
|
|
}
|
|
|
|
// Token: 0x060239E3 RID: 145891 RVA: 0x009B4348 File Offset: 0x009B2548
|
|
private void LBJMMOONFKO()
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (toggleButton3D != null)
|
|
{
|
|
toggleButton3D.DPMFCJAJLBE(new Action<ToggleButton3D, bool>(this.NGNFEBMIOOA));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239E4 RID: 145892 RVA: 0x009B43BC File Offset: 0x009B25BC
|
|
private void EMKHEHNICEN()
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (toggleButton3D != null)
|
|
{
|
|
toggleButton3D.KLIKALDLHMF(new Action<ToggleButton3D, bool>(this.AKOEJLFLGHI));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239E5 RID: 145893 RVA: 0x009B4430 File Offset: 0x009B2630
|
|
private void NMOBMJGJCCC()
|
|
{
|
|
IEnumerator enumerator = base.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
ToggleButton3D component = transform.GetComponent<ToggleButton3D>();
|
|
if (component != null)
|
|
{
|
|
this.PCPBGCHJEAE(component);
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239E6 RID: 145894 RVA: 0x009B44A8 File Offset: 0x009B26A8
|
|
private void FDBHMLOEHCE()
|
|
{
|
|
IEnumerator enumerator = base.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
ToggleButton3D component = transform.GetComponent<ToggleButton3D>();
|
|
if (component != null)
|
|
{
|
|
this.PCPBGCHJEAE(component);
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239E7 RID: 145895 RVA: 0x009B4520 File Offset: 0x009B2720
|
|
public List<ToggleButton3D> GOAFNILIMNG()
|
|
{
|
|
return this.buttonGroup;
|
|
}
|
|
|
|
// Token: 0x060239E8 RID: 145896 RVA: 0x009B4528 File Offset: 0x009B2728
|
|
private void KDHBBCGHDMC()
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (toggleButton3D != null)
|
|
{
|
|
toggleButton3D.JAOMGBDMNJH(new Action<ToggleButton3D, bool>(this.EPMEDDGKNMM));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239E9 RID: 145897 RVA: 0x009B459C File Offset: 0x009B279C
|
|
private void OnDestroy()
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (toggleButton3D != null)
|
|
{
|
|
toggleButton3D.PBBLIFJGPCL -= this.PBBLIFJGPCL;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239EA RID: 145898 RVA: 0x009B4610 File Offset: 0x009B2810
|
|
public List<ToggleButton3D> OPGAAONEGBG()
|
|
{
|
|
return this.buttonGroup;
|
|
}
|
|
|
|
// Token: 0x060239EB RID: 145899 RVA: 0x009B4618 File Offset: 0x009B2818
|
|
private void FPNKOFALBFP(ToggleButton3D ILOFENDAFLM, bool AMPFCDLCDAH)
|
|
{
|
|
if (AMPFCDLCDAH)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (ILOFENDAFLM != toggleButton3D)
|
|
{
|
|
toggleButton3D.MMJNKMOLDCJ();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239EC RID: 145900 RVA: 0x009B4688 File Offset: 0x009B2888
|
|
public void AFECKCOOCDB(ToggleButton3D POBFKADFFJH)
|
|
{
|
|
if (!this.buttonGroup.Contains(POBFKADFFJH))
|
|
{
|
|
this.buttonGroup.Add(POBFKADFFJH);
|
|
}
|
|
POBFKADFFJH.KEHBJKPHNGG(new Action<ToggleButton3D, bool>(this.FPNKOFALBFP));
|
|
}
|
|
|
|
// Token: 0x060239ED RID: 145901 RVA: 0x009B46BC File Offset: 0x009B28BC
|
|
public void FBBADIDAGBL(List<ToggleButton3D> MEACFJOKHCN)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in MEACFJOKHCN)
|
|
{
|
|
this.CEBBAOJOIDO(toggleButton3D);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239EE RID: 145902 RVA: 0x009B4714 File Offset: 0x009B2914
|
|
public List<ToggleButton3D> JEDHENKDKBD()
|
|
{
|
|
return this.buttonGroup;
|
|
}
|
|
|
|
// Token: 0x060239EF RID: 145903 RVA: 0x009B471C File Offset: 0x009B291C
|
|
public void KEKKHFKHFGI(List<ToggleButton3D> MEACFJOKHCN)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in MEACFJOKHCN)
|
|
{
|
|
this.PCPBGCHJEAE(toggleButton3D);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239F0 RID: 145904 RVA: 0x009B4774 File Offset: 0x009B2974
|
|
public void NDKGDIKMPMK(List<ToggleButton3D> MEACFJOKHCN)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in MEACFJOKHCN)
|
|
{
|
|
this.BIMBHGKKEMO(toggleButton3D);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239F1 RID: 145905 RVA: 0x009B47CC File Offset: 0x009B29CC
|
|
private void IPAPMGBLCNF()
|
|
{
|
|
IEnumerator enumerator = base.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
ToggleButton3D component = transform.GetComponent<ToggleButton3D>();
|
|
if (component != null)
|
|
{
|
|
this.BIMBHGKKEMO(component);
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239F2 RID: 145906 RVA: 0x009B4844 File Offset: 0x009B2A44
|
|
public void BJDFOPFODJD(List<ToggleButton3D> MEACFJOKHCN)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in MEACFJOKHCN)
|
|
{
|
|
this.EBOPILOHPHF(toggleButton3D);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001083 RID: 4227
|
|
// (get) Token: 0x060239F3 RID: 145907 RVA: 0x009B489C File Offset: 0x009B2A9C
|
|
public List<ToggleButton3D> GAIFHNPOKID
|
|
{
|
|
get
|
|
{
|
|
return this.buttonGroup;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239F4 RID: 145908 RVA: 0x009B48A4 File Offset: 0x009B2AA4
|
|
private void LPBGGKDFLLN()
|
|
{
|
|
IEnumerator enumerator = base.transform.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
object obj = enumerator.Current;
|
|
Transform transform = (Transform)obj;
|
|
ToggleButton3D component = transform.GetComponent<ToggleButton3D>();
|
|
if (component != null)
|
|
{
|
|
this.BIMBHGKKEMO(component);
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable;
|
|
if ((disposable = enumerator as IDisposable) != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239F5 RID: 145909 RVA: 0x009B491C File Offset: 0x009B2B1C
|
|
public void KBBEAHMEGJA(ToggleButton3D POBFKADFFJH)
|
|
{
|
|
if (!this.buttonGroup.Contains(POBFKADFFJH))
|
|
{
|
|
this.buttonGroup.Add(POBFKADFFJH);
|
|
}
|
|
POBFKADFFJH.KMMIMEKCOHA(new Action<ToggleButton3D, bool>(this.LCBLOCHALDK));
|
|
}
|
|
|
|
// Token: 0x060239F6 RID: 145910 RVA: 0x009B4950 File Offset: 0x009B2B50
|
|
private void PBBLIFJGPCL(ToggleButton3D ILOFENDAFLM, bool AMPFCDLCDAH)
|
|
{
|
|
if (AMPFCDLCDAH)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (ILOFENDAFLM != toggleButton3D)
|
|
{
|
|
toggleButton3D.ForceRelease();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239F7 RID: 145911 RVA: 0x009B49C0 File Offset: 0x009B2BC0
|
|
public void BIMBHGKKEMO(ToggleButton3D POBFKADFFJH)
|
|
{
|
|
if (!this.buttonGroup.Contains(POBFKADFFJH))
|
|
{
|
|
this.buttonGroup.Add(POBFKADFFJH);
|
|
}
|
|
POBFKADFFJH.KMMIMEKCOHA(new Action<ToggleButton3D, bool>(this.DCHMGHLADMO));
|
|
}
|
|
|
|
// Token: 0x060239F8 RID: 145912 RVA: 0x009B49F4 File Offset: 0x009B2BF4
|
|
private void AKOEJLFLGHI(ToggleButton3D ILOFENDAFLM, bool AMPFCDLCDAH)
|
|
{
|
|
if (AMPFCDLCDAH)
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (ILOFENDAFLM != toggleButton3D)
|
|
{
|
|
toggleButton3D.ONHPCDALCPG();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060239F9 RID: 145913 RVA: 0x009B4A64 File Offset: 0x009B2C64
|
|
public void CEBBAOJOIDO(ToggleButton3D POBFKADFFJH)
|
|
{
|
|
if (!this.buttonGroup.Contains(POBFKADFFJH))
|
|
{
|
|
this.buttonGroup.Add(POBFKADFFJH);
|
|
}
|
|
POBFKADFFJH.PBHBOEOLKPB(new Action<ToggleButton3D, bool>(this.PBBLIFJGPCL));
|
|
}
|
|
|
|
// Token: 0x060239FA RID: 145914 RVA: 0x009B4A98 File Offset: 0x009B2C98
|
|
private void ACOKDCDBNHM()
|
|
{
|
|
foreach (ToggleButton3D toggleButton3D in this.buttonGroup)
|
|
{
|
|
if (toggleButton3D != null)
|
|
{
|
|
toggleButton3D.DPMFCJAJLBE(new Action<ToggleButton3D, bool>(this.FPNKOFALBFP));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x04005B51 RID: 23377
|
|
[SerializeField]
|
|
private List<ToggleButton3D> buttonGroup = new List<ToggleButton3D>();
|
|
}
|
|
}
|