using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020003D8 RID: 984
	[Token(Token = "0x20003D8")]
	public class TransferMotion : MonoBehaviour
	{
		// Token: 0x060023BB RID: 9147 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60023BB")]
		[Address(RVA = "0x13033E0", Offset = "0x13021E0", VA = "0x1813033E0")]
		private void OnEnable()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060023BC RID: 9148 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60023BC")]
		[Address(RVA = "0x1303420", Offset = "0x1302220", VA = "0x181303420")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x060023BD RID: 9149 RVA: 0x00051A64 File Offset: 0x0004FC64
		[Token(Token = "0x60023BD")]
		[Address(RVA = "0x1303580", Offset = "0x1302380", VA = "0x181303580")]
		public TransferMotion()
		{
		}

		// Token: 0x04002D4F RID: 11599
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002D4F")]
		[Tooltip("The Transform to transfer motion to.")]
		public Transform to;

		// Token: 0x04002D50 RID: 11600
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002D50")]
		[Tooltip("The amount of motion to transfer.")]
		[Range(0f, 1f)]
		public float transferMotion = 0.9f;

		// Token: 0x04002D51 RID: 11601
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x4002D51")]
		private Vector3 lastPosition;
	}
}
