using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020003B5 RID: 949
	[Token(Token = "0x20003B5")]
	[RequireComponent(typeof(AnimatorController3rdPerson))]
	public class CharacterController3rdPerson : MonoBehaviour
	{
		// Token: 0x06002332 RID: 9010 RVA: 0x00050B00 File Offset: 0x0004ED00
		[Token(Token = "0x6002332")]
		[Address(RVA = "0xE84E30", Offset = "0xE83C30", VA = "0x180E84E30")]
		private void Start()
		{
			AnimatorController3rdPerson component = base.GetComponent<AnimatorController3rdPerson>();
			this.animatorController = component;
			CameraController cameraController = this.cam;
			int num = 0;
			cameraController.enabled = num != 0;
		}

		// Token: 0x06002333 RID: 9011 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002333")]
		[Address(RVA = "0xE84B10", Offset = "0xE83910", VA = "0x180E84B10")]
		private void LateUpdate()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x170001FB RID: 507
		// (get) Token: 0x06002334 RID: 9012 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x170001FB")]
		private static Vector3 inputVector
		{
			[Token(Token = "0x6002334")]
			[Address(RVA = "0xE84F20", Offset = "0xE83D20", VA = "0x180E84F20")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x170001FC RID: 508
		// (get) Token: 0x06002335 RID: 9013 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x170001FC")]
		private static Vector3 inputVectorRaw
		{
			[Token(Token = "0x6002335")]
			[Address(RVA = "0xE84EA0", Offset = "0xE83CA0", VA = "0x180E84EA0")]
			get
			{
				throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
			}
		}

		// Token: 0x06002336 RID: 9014 RVA: 0x00050B34 File Offset: 0x0004ED34
		[Token(Token = "0x6002336")]
		[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
		public CharacterController3rdPerson()
		{
		}

		// Token: 0x04002C87 RID: 11399
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002C87")]
		[SerializeField]
		private CameraController cam;

		// Token: 0x04002C88 RID: 11400
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002C88")]
		private AnimatorController3rdPerson animatorController;
	}
}
