This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
using System;
namespace UnityEngine
{
// Token: 0x0200026C RID: 620
internal sealed class GUIAspectSizer : GUILayoutEntry
{
// Token: 0x06002A62 RID: 10850 RVA: 0x000369B8 File Offset: 0x00034BB8
public GUIAspectSizer(float aspect, GUILayoutOption[] options)
: base(0f, 0f, 0f, 0f, GUIStyle.none)
{
this.aspect = aspect;
this.ApplyOptions(options);
}
// Token: 0x06002A63 RID: 10851 RVA: 0x000369E8 File Offset: 0x00034BE8
public override void CalcHeight()
{
this.minHeight = (this.maxHeight = this.rect.width / this.aspect);
}
// Token: 0x0400078A RID: 1930
private float aspect;
}
}