m
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using AGUI.StackedUI;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.UI
|
||||
{
|
||||
// Token: 0x02002A94 RID: 10900
|
||||
[Token(Token = "0x2002A94")]
|
||||
public class HelpButtonsController : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0601220C RID: 74252 RVA: 0x0041B5A0 File Offset: 0x004197A0
|
||||
[Token(Token = "0x601220C")]
|
||||
[Address(RVA = "0x1A98D10", Offset = "0x1A97D10", VA = "0x181A98D10")]
|
||||
private void Start()
|
||||
{
|
||||
Button3DBase[] componentsInChildren = base.gameObject.GetComponentsInChildren<Button3DBase>(true);
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
int length = componentsInChildren.Length;
|
||||
if (num < length)
|
||||
{
|
||||
Button3DBase button3DBase = componentsInChildren[num2];
|
||||
CustomUIMask[] componentsInChildren2 = button3DBase.GetComponentsInChildren<CustomUIMask>(true);
|
||||
int num3 = 0;
|
||||
if (num3 < componentsInChildren2.Length)
|
||||
{
|
||||
componentsInChildren2[num3].SetStencilToWorldSpace();
|
||||
num3++;
|
||||
}
|
||||
MeshRenderer[] componentsInChildren3 = button3DBase.GetComponentsInChildren<MeshRenderer>(true);
|
||||
int num4 = 0;
|
||||
if (num4 < componentsInChildren3.Length)
|
||||
{
|
||||
ButtonUIMaskWriter buttonUIMaskWriter = componentsInChildren3[num4].gameObject.AddComponent<ButtonUIMaskWriter>();
|
||||
num4++;
|
||||
}
|
||||
num2++;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601220D RID: 74253 RVA: 0x0041B63C File Offset: 0x0041983C
|
||||
[Token(Token = "0x601220D")]
|
||||
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
||||
public HelpButtonsController()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user