using System;
using Cpp2IlInjected;
using UnityEngine;

namespace UnityStandardAssets.Utility
{
	// Token: 0x0200058F RID: 1423
	[Token(Token = "0x200058F")]
	public class AutoMoveAndRotate : MonoBehaviour
	{
		// Token: 0x06002E97 RID: 11927 RVA: 0x00063538 File Offset: 0x00061738
		[Token(Token = "0x6002E97")]
		[Address(RVA = "0x8D20B0", Offset = "0x8D0EB0", VA = "0x1808D20B0")]
		private void Start()
		{
			float realtimeSinceStartup = Time.realtimeSinceStartup;
			this.m_LastRealTime = realtimeSinceStartup;
		}

		// Token: 0x06002E98 RID: 11928 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002E98")]
		[Address(RVA = "0x8D20D0", Offset = "0x8D0ED0", VA = "0x1808D20D0")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002E99 RID: 11929 RVA: 0x00063554 File Offset: 0x00061754
		[Token(Token = "0x6002E99")]
		[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
		public AutoMoveAndRotate()
		{
		}

		// Token: 0x04003779 RID: 14201
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003779")]
		public AutoMoveAndRotate.Vector3andSpace moveUnitsPerSecond;

		// Token: 0x0400377A RID: 14202
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x400377A")]
		public AutoMoveAndRotate.Vector3andSpace rotateDegreesPerSecond;

		// Token: 0x0400377B RID: 14203
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x400377B")]
		public bool ignoreTimescale;

		// Token: 0x0400377C RID: 14204
		[FieldOffset(Offset = "0x2C")]
		[Token(Token = "0x400377C")]
		private float m_LastRealTime;

		// Token: 0x02000590 RID: 1424
		[Token(Token = "0x2000590")]
		[Serializable]
		public class Vector3andSpace
		{
			// Token: 0x06002E9A RID: 11930 RVA: 0x00063568 File Offset: 0x00061768
			[Token(Token = "0x6002E9A")]
			[Address(RVA = "0x603C20", Offset = "0x602A20", VA = "0x180603C20")]
			public Vector3andSpace()
			{
			}

			// Token: 0x0400377D RID: 14205
			[FieldOffset(Offset = "0x10")]
			[Token(Token = "0x400377D")]
			public Vector3 value;

			// Token: 0x0400377E RID: 14206
			[FieldOffset(Offset = "0x1C")]
			[Token(Token = "0x400377E")]
			public Space space = (Space)((ulong)1L);
		}
	}
}
