using System;
using Cpp2IlInjected;
using UnityEngine;

namespace UnityStandardAssets.Utility
{
	// Token: 0x020005E7 RID: 1511
	[Token(Token = "0x20005E7")]
	public class AutoMoveAndRotate : MonoBehaviour
	{
		// Token: 0x06003160 RID: 12640 RVA: 0x0006A7F4 File Offset: 0x000689F4
		[Token(Token = "0x6003160")]
		[Address(RVA = "0x79D770", Offset = "0x79C770", VA = "0x18079D770")]
		private void Start()
		{
			float realtimeSinceStartup = Time.realtimeSinceStartup;
			this.m_LastRealTime = realtimeSinceStartup;
		}

		// Token: 0x06003161 RID: 12641 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003161")]
		[Address(RVA = "0x79D790", Offset = "0x79C790", VA = "0x18079D790")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003162 RID: 12642 RVA: 0x0006A810 File Offset: 0x00068A10
		[Token(Token = "0x6003162")]
		[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
		public AutoMoveAndRotate()
		{
		}

		// Token: 0x04003A63 RID: 14947
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003A63")]
		public AutoMoveAndRotate.Vector3andSpace moveUnitsPerSecond;

		// Token: 0x04003A64 RID: 14948
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003A64")]
		public AutoMoveAndRotate.Vector3andSpace rotateDegreesPerSecond;

		// Token: 0x04003A65 RID: 14949
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4003A65")]
		public bool ignoreTimescale;

		// Token: 0x04003A66 RID: 14950
		[FieldOffset(Offset = "0x2C")]
		[Token(Token = "0x4003A66")]
		private float m_LastRealTime;

		// Token: 0x020005E8 RID: 1512
		[Token(Token = "0x20005E8")]
		[Serializable]
		public class Vector3andSpace
		{
			// Token: 0x06003163 RID: 12643 RVA: 0x0006A824 File Offset: 0x00068A24
			[Token(Token = "0x6003163")]
			[Address(RVA = "0x19C53E0", Offset = "0x19C43E0", VA = "0x1819C53E0")]
			public Vector3andSpace()
			{
			}

			// Token: 0x04003A67 RID: 14951
			[FieldOffset(Offset = "0x10")]
			[Token(Token = "0x4003A67")]
			public Vector3 value;

			// Token: 0x04003A68 RID: 14952
			[FieldOffset(Offset = "0x1C")]
			[Token(Token = "0x4003A68")]
			public Space space = (Space)((ulong)1L);
		}
	}
}
