using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x02000433 RID: 1075
	[Token(Token = "0x2000433")]
	public class GrounderDemo : MonoBehaviour
	{
		// Token: 0x0600268F RID: 9871 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600268F")]
		[Address(RVA = "0x16FB490", Offset = "0x16FA490", VA = "0x1816FB490")]
		private void OnGUI()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002690 RID: 9872 RVA: 0x00058EC4 File Offset: 0x000570C4
		[Token(Token = "0x6002690")]
		[Address(RVA = "0x16FB400", Offset = "0x16FA400", VA = "0x1816FB400")]
		public void Activate(int index)
		{
			GameObject[] array = this.characters;
			int num = 0;
			if (num < array.Length)
			{
				GameObject gameObject = array[num];
				bool flag = num == index;
				gameObject.SetActive(flag);
				GameObject[] array2 = this.characters;
				num++;
			}
		}

		// Token: 0x06002691 RID: 9873 RVA: 0x00058F0C File Offset: 0x0005710C
		[Token(Token = "0x6002691")]
		[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
		public GrounderDemo()
		{
		}

		// Token: 0x04003044 RID: 12356
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003044")]
		public GameObject[] characters;
	}
}
