31 lines
746 B
C#
31 lines
746 B
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RootMotion.Demos
|
|
{
|
|
// Token: 0x020003F7 RID: 1015
|
|
[Token(Token = "0x20003F7")]
|
|
public class ApplicationQuit : MonoBehaviour
|
|
{
|
|
// Token: 0x0600244C RID: 9292 RVA: 0x0005288C File Offset: 0x00050A8C
|
|
[Token(Token = "0x600244C")]
|
|
[Address(RVA = "0xB66890", Offset = "0xB65090", VA = "0x180B66890")]
|
|
private void Update()
|
|
{
|
|
if (Input.GetKeyDownInt(KeyCode.Q) || Input.GetKeyDownInt(KeyCode.Escape))
|
|
{
|
|
Application.Quit();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600244D RID: 9293 RVA: 0x000528B8 File Offset: 0x00050AB8
|
|
[Token(Token = "0x600244D")]
|
|
[Address(RVA = "0x33E460", Offset = "0x33CC60", VA = "0x18033E460")]
|
|
public ApplicationQuit()
|
|
{
|
|
}
|
|
}
|
|
}
|