using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200021F RID: 543
[Token(Token = "0x200021F")]
public class CursorHide : MonoBehaviour
{
	// Token: 0x06001582 RID: 5506 RVA: 0x00030AA8 File Offset: 0x0002ECA8
	[Token(Token = "0x6001582")]
	[Address(RVA = "0x12F2F80", Offset = "0x12F1F80", VA = "0x1812F2F80")]
	private void SetCursorState()
	{
		Cursor.lockState = this.wantedMode;
		Cursor.visible = this.wantedMode != CursorLockMode.Locked;
	}

	// Token: 0x06001583 RID: 5507 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001583")]
	[Address(RVA = "0x12F2D50", Offset = "0x12F1D50", VA = "0x1812F2D50")]
	private void OnGUI()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001584 RID: 5508 RVA: 0x00030AD4 File Offset: 0x0002ECD4
	[Token(Token = "0x6001584")]
	[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
	public CursorHide()
	{
	}

	// Token: 0x040020A3 RID: 8355
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40020A3")]
	private CursorLockMode wantedMode;
}
