m
This commit is contained in:
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace RRUI
|
||||
{
|
||||
// Token: 0x020007C7 RID: 1991
|
||||
[Token(Token = "0x20007C7")]
|
||||
public class CanvasAspectRatioMatcher : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06003809 RID: 14345 RVA: 0x000E8D5C File Offset: 0x000E6F5C
|
||||
[Token(Token = "0x6003809")]
|
||||
[Address(RVA = "0x1BBC7A0", Offset = "0x1BBB7A0", VA = "0x181BBC7A0")]
|
||||
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: 0x0600380A RID: 14346 RVA: 0x000E8DE4 File Offset: 0x000E6FE4
|
||||
[Token(Token = "0x600380A")]
|
||||
[Address(RVA = "0x1BBC8D0", Offset = "0x1BBB8D0", VA = "0x181BBC8D0")]
|
||||
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: 0x0600380B RID: 14347 RVA: 0x000E8E44 File Offset: 0x000E7044
|
||||
[Token(Token = "0x600380B")]
|
||||
[Address(RVA = "0x1BBC8D0", Offset = "0x1BBB8D0", VA = "0x181BBC8D0")]
|
||||
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: 0x0600380C RID: 14348 RVA: 0x000E8EA4 File Offset: 0x000E70A4
|
||||
[Token(Token = "0x600380C")]
|
||||
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
||||
public CanvasAspectRatioMatcher()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04003037 RID: 12343
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4003037")]
|
||||
[SerializeField]
|
||||
[OAGJHJAIMMP(FHBJCBPFODN.SelfAndParent, false, false, false)]
|
||||
private Canvas canvas;
|
||||
|
||||
// Token: 0x04003038 RID: 12344
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4003038")]
|
||||
[SerializeField]
|
||||
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
|
||||
private AspectRatioFitter aspectRatioFitter;
|
||||
|
||||
// Token: 0x04003039 RID: 12345
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4003039")]
|
||||
private RectTransform AAFEHJFOMAI;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user