280 lines
11 KiB
C#
280 lines
11 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000985 RID: 2437
|
|
public class TiltWindow : MonoBehaviour
|
|
{
|
|
// Token: 0x06012576 RID: 75126 RVA: 0x005435CC File Offset: 0x005417CC
|
|
private void NKKKHBAGEJH()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 590f;
|
|
float num2 = (float)Screen.height * 816f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 987f, 557f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 824f, 1843f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 1283f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 272f);
|
|
}
|
|
|
|
// Token: 0x06012577 RID: 75127 RVA: 0x005436A4 File Offset: 0x005418A4
|
|
private void PAEIJLKEEGJ()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x06012578 RID: 75128 RVA: 0x005436C4 File Offset: 0x005418C4
|
|
private void NICOCLOFMEF()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x06012579 RID: 75129 RVA: 0x005436E4 File Offset: 0x005418E4
|
|
private void MOAAJAOGKEO()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601257A RID: 75130 RVA: 0x00543704 File Offset: 0x00541904
|
|
private void EHHPCGOOPLD()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601257B RID: 75131 RVA: 0x00543724 File Offset: 0x00541924
|
|
private void DOMHFCPJPPH()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601257C RID: 75132 RVA: 0x00543744 File Offset: 0x00541944
|
|
private void EAKGKEKHPOI()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601257D RID: 75133 RVA: 0x00543764 File Offset: 0x00541964
|
|
private void Start()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601257E RID: 75134 RVA: 0x00543784 File Offset: 0x00541984
|
|
private void POEDAMONBNL()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601257F RID: 75135 RVA: 0x005437A4 File Offset: 0x005419A4
|
|
private void JKMNBLDOIMB()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 1774f;
|
|
float num2 = (float)Screen.height * 988f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 572f, 1092f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 1232f, 499f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 227f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 604f);
|
|
}
|
|
|
|
// Token: 0x06012580 RID: 75136 RVA: 0x0054387C File Offset: 0x00541A7C
|
|
private void LJICNBMGDMN()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 1747f;
|
|
float num2 = (float)Screen.height * 1035f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 1775f, 1051f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 1660f, 817f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 1385f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 1322f);
|
|
}
|
|
|
|
// Token: 0x06012581 RID: 75137 RVA: 0x00543954 File Offset: 0x00541B54
|
|
private void EEPEOCMOGIL()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 1681f;
|
|
float num2 = (float)Screen.height * 141f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 836f, 368f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 252f, 1972f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 764f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 2f);
|
|
}
|
|
|
|
// Token: 0x06012582 RID: 75138 RVA: 0x00543A2C File Offset: 0x00541C2C
|
|
private void EJELDFPCKKF()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 1364f;
|
|
float num2 = (float)Screen.height * 79f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 143f, 280f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 814f, 30f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 1521f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 802f);
|
|
}
|
|
|
|
// Token: 0x06012583 RID: 75139 RVA: 0x00543B04 File Offset: 0x00541D04
|
|
private void JJEHDEOKOBB()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x06012584 RID: 75140 RVA: 0x00543B24 File Offset: 0x00541D24
|
|
private void LJFJILFBKHF()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 1693f;
|
|
float num2 = (float)Screen.height * 1106f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 615f, 359f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 1169f, 101f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 176f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 858f);
|
|
}
|
|
|
|
// Token: 0x06012585 RID: 75141 RVA: 0x00543BFC File Offset: 0x00541DFC
|
|
private void Update()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 0.5f;
|
|
float num2 = (float)Screen.height * 0.5f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, -1f, 1f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, -1f, 1f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 5f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 0f);
|
|
}
|
|
|
|
// Token: 0x06012586 RID: 75142 RVA: 0x00543CD4 File Offset: 0x00541ED4
|
|
private void GGGPONCFHPC()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 1826f;
|
|
float num2 = (float)Screen.height * 225f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 1901f, 1945f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 594f, 1950f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 162f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 1694f);
|
|
}
|
|
|
|
// Token: 0x06012588 RID: 75144 RVA: 0x00543DD4 File Offset: 0x00541FD4
|
|
private void MDCNOIALLAF()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 337f;
|
|
float num2 = (float)Screen.height * 1007f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 1917f, 858f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 532f, 222f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 778f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 1853f);
|
|
}
|
|
|
|
// Token: 0x06012589 RID: 75145 RVA: 0x00543EAC File Offset: 0x005420AC
|
|
private void CJIBCBLNGGM()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601258A RID: 75146 RVA: 0x00543ECC File Offset: 0x005420CC
|
|
private void MJANJBNFEGG()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 693f;
|
|
float num2 = (float)Screen.height * 268f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 569f, 1202f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 1958f, 1853f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 736f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 950f);
|
|
}
|
|
|
|
// Token: 0x0601258B RID: 75147 RVA: 0x00543FA4 File Offset: 0x005421A4
|
|
private void AMCANMJHAEH()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601258C RID: 75148 RVA: 0x00543FC4 File Offset: 0x005421C4
|
|
private void PINHMNLCHGK()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601258D RID: 75149 RVA: 0x00543FE4 File Offset: 0x005421E4
|
|
private void OLLOAPMOOHE()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x0601258E RID: 75150 RVA: 0x00544004 File Offset: 0x00542204
|
|
private void NIBGLHFHJLJ()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 916f;
|
|
float num2 = (float)Screen.height * 456f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 350f, 313f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 1378f, 1256f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 1023f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 1943f);
|
|
}
|
|
|
|
// Token: 0x0601258F RID: 75151 RVA: 0x005440DC File Offset: 0x005422DC
|
|
private void KCKPOOJHBNO()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x06012590 RID: 75152 RVA: 0x005440FC File Offset: 0x005422FC
|
|
private void CJDFMFPIFDB()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 356f;
|
|
float num2 = (float)Screen.height * 1154f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 1995f, 475f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 1683f, 376f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 1506f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 1051f);
|
|
}
|
|
|
|
// Token: 0x06012591 RID: 75153 RVA: 0x005441D4 File Offset: 0x005423D4
|
|
private void IGDMCDLELON()
|
|
{
|
|
Vector3 mousePosition = Input.mousePosition;
|
|
float num = (float)Screen.width * 999f;
|
|
float num2 = (float)Screen.height * 1162f;
|
|
float num3 = Mathf.Clamp((mousePosition.x - num) / num, 1953f, 842f);
|
|
float num4 = Mathf.Clamp((mousePosition.y - num2) / num2, 788f, 1752f);
|
|
this.LBGGDOAMMEG = Vector2.Lerp(this.LBGGDOAMMEG, new Vector2(num3, num4), Time.deltaTime * 560f);
|
|
this.NDHINHNDKNK.localRotation = this.KKHOCJJCGOC * Quaternion.Euler(-this.LBGGDOAMMEG.y * this.range.y, this.LBGGDOAMMEG.x * this.range.x, 92f);
|
|
}
|
|
|
|
// Token: 0x06012592 RID: 75154 RVA: 0x005442AC File Offset: 0x005424AC
|
|
private void DEBKBIIGAAN()
|
|
{
|
|
this.NDHINHNDKNK = base.transform;
|
|
this.KKHOCJJCGOC = this.NDHINHNDKNK.localRotation;
|
|
}
|
|
|
|
// Token: 0x04003328 RID: 13096
|
|
public Vector2 range = new Vector2(5f, 3f);
|
|
|
|
// Token: 0x04003329 RID: 13097
|
|
private Transform NDHINHNDKNK;
|
|
|
|
// Token: 0x0400332A RID: 13098
|
|
private Quaternion KKHOCJJCGOC;
|
|
|
|
// Token: 0x0400332B RID: 13099
|
|
private Vector2 LBGGDOAMMEG = Vector2.zero;
|
|
}
|