Files
2026-04-10 22:50:51 +02:00

108 lines
3.1 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
using UnityEngine.UI;
namespace RRUI
{
// Token: 0x020007B2 RID: 1970
[Token(Token = "0x20007B2")]
public class CanvasAspectRatioMatcher : MonoBehaviour
{
// Token: 0x0600376C RID: 14188 RVA: 0x000E7EB8 File Offset: 0x000E60B8
[Token(Token = "0x600376C")]
[Address(RVA = "0x105EDA0", Offset = "0x105DBA0", VA = "0x18105EDA0")]
private void Awake()
{
Canvas canvas = this.canvas;
int num = 0;
if (canvas == num)
{
Canvas componentInParent = base.gameObject.GetComponentInParent<Canvas>();
this.canvas = componentInParent;
}
Canvas canvas2 = this.canvas;
int num2 = 0;
if (canvas2 != num2)
{
RectTransform component = this.canvas.GetComponent<RectTransform>();
this.AAFEHJFOMAI = component;
}
AspectRatioFitter aspectRatioFitter = this.aspectRatioFitter;
int num3 = 0;
if (aspectRatioFitter != num3)
{
this.aspectRatioFitter.aspectMode = AspectRatioFitter.AspectMode.EnvelopeParent;
}
}
// Token: 0x0600376D RID: 14189 RVA: 0x000E7F40 File Offset: 0x000E6140
[Token(Token = "0x600376D")]
[Address(RVA = "0x105EED0", Offset = "0x105DCD0", VA = "0x18105EED0")]
private void LateUpdate()
{
RectTransform aafehjfomai = this.AAFEHJFOMAI;
int num = 0;
if (aafehjfomai != num)
{
AspectRatioFitter aspectRatioFitter = this.aspectRatioFitter;
int num2 = 0;
if (aspectRatioFitter != num2)
{
RectTransform aafehjfomai2 = this.AAFEHJFOMAI;
AspectRatioFitter aspectRatioFitter2 = this.aspectRatioFitter;
Vector2 sizeDelta = aafehjfomai2.sizeDelta;
Vector2 sizeDelta2 = this.AAFEHJFOMAI.sizeDelta;
}
}
}
// Token: 0x0600376E RID: 14190 RVA: 0x000E7FA0 File Offset: 0x000E61A0
[Token(Token = "0x600376E")]
[Address(RVA = "0x105EED0", Offset = "0x105DCD0", VA = "0x18105EED0")]
private void GLJJIANDKAO()
{
RectTransform aafehjfomai = this.AAFEHJFOMAI;
int num = 0;
if (aafehjfomai != num)
{
AspectRatioFitter aspectRatioFitter = this.aspectRatioFitter;
int num2 = 0;
if (aspectRatioFitter != num2)
{
RectTransform aafehjfomai2 = this.AAFEHJFOMAI;
AspectRatioFitter aspectRatioFitter2 = this.aspectRatioFitter;
Vector2 sizeDelta = aafehjfomai2.sizeDelta;
Vector2 sizeDelta2 = this.AAFEHJFOMAI.sizeDelta;
}
}
}
// Token: 0x0600376F RID: 14191 RVA: 0x000E8000 File Offset: 0x000E6200
[Token(Token = "0x600376F")]
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
public CanvasAspectRatioMatcher()
{
}
// Token: 0x04002FBB RID: 12219
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4002FBB")]
[SerializeField]
[OCIDFHDICIP(JIBDPHMGEGO.SelfAndParent, false, false, false)]
private Canvas canvas;
// Token: 0x04002FBC RID: 12220
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4002FBC")]
[SerializeField]
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
private AspectRatioFitter aspectRatioFitter;
// Token: 0x04002FBD RID: 12221
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4002FBD")]
private RectTransform AAFEHJFOMAI;
}
}