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

31 lines
746 B
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RootMotion.Demos
{
// Token: 0x020003EE RID: 1006
[Token(Token = "0x20003EE")]
public class ApplicationQuit : MonoBehaviour
{
// Token: 0x0600241A RID: 9242 RVA: 0x0005230C File Offset: 0x0005050C
[Token(Token = "0x600241A")]
[Address(RVA = "0x8CF200", Offset = "0x8CE000", VA = "0x1808CF200")]
private void Update()
{
if (Input.GetKeyDownInt(KeyCode.Q) || Input.GetKeyDownInt(KeyCode.Escape))
{
Application.Quit();
return;
}
}
// Token: 0x0600241B RID: 9243 RVA: 0x00052338 File Offset: 0x00050538
[Token(Token = "0x600241B")]
[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
public ApplicationQuit()
{
}
}
}