using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020003DB RID: 987
	[Token(Token = "0x20003DB")]
	public class GrounderDemo : MonoBehaviour
	{
		// Token: 0x060023C6 RID: 9158 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60023C6")]
		[Address(RVA = "0x1174DC0", Offset = "0x1173BC0", VA = "0x181174DC0")]
		private void OnGUI()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060023C7 RID: 9159 RVA: 0x00051C6C File Offset: 0x0004FE6C
		[Token(Token = "0x60023C7")]
		[Address(RVA = "0x1174D30", Offset = "0x1173B30", VA = "0x181174D30")]
		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: 0x060023C8 RID: 9160 RVA: 0x00051CB4 File Offset: 0x0004FEB4
		[Token(Token = "0x60023C8")]
		[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
		public GrounderDemo()
		{
		}

		// Token: 0x04002D5A RID: 11610
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002D5A")]
		public GameObject[] characters;
	}
}
