Files
NobetaSource/Cpp2IL/Assembly-CSharp/RootMotion/Demos/ApplicationQuit.cs
2023-09-06 22:19:13 +02:00

31 lines
746 B
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RootMotion.Demos
{
// Token: 0x02000446 RID: 1094
[Token(Token = "0x2000446")]
public class ApplicationQuit : MonoBehaviour
{
// Token: 0x060026E3 RID: 9955 RVA: 0x0005956C File Offset: 0x0005776C
[Token(Token = "0x60026E3")]
[Address(RVA = "0xDB3A90", Offset = "0xDB2A90", VA = "0x180DB3A90")]
private void Update()
{
if (Input.GetKeyDownInt(KeyCode.Q) || Input.GetKeyDownInt(KeyCode.Escape))
{
Application.Quit();
return;
}
}
// Token: 0x060026E4 RID: 9956 RVA: 0x00059598 File Offset: 0x00057798
[Token(Token = "0x60026E4")]
[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
public ApplicationQuit()
{
}
}
}