using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020003FA RID: 1018
	public class UserControlAI : UserControlThirdPerson
	{
		// Token: 0x06007B21 RID: 31521 RVA: 0x001F56A0 File Offset: 0x001F38A0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593890, XrefRangeEnd = 593903, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UserControlAI.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007B22 RID: 31522 RVA: 0x001F56F0 File Offset: 0x001F38F0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593903, XrefRangeEnd = 593904, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe UserControlAI()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UserControlAI.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007B23 RID: 31523 RVA: 0x001F573C File Offset: 0x001F393C
		// Note: this type is marked as 'beforefieldinit'.
		static UserControlAI()
		{
			Il2CppClassPointerStore<UserControlAI>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "UserControlAI");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr);
			UserControlAI.NativeFieldInfoPtr_moveTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, "moveTarget");
			UserControlAI.NativeFieldInfoPtr_stoppingDistance = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, "stoppingDistance");
			UserControlAI.NativeFieldInfoPtr_stoppingThreshold = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, "stoppingThreshold");
			UserControlAI.NativeMethodInfoPtr_Update_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, 100672533);
			UserControlAI.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UserControlAI>.NativeClassPtr, 100672534);
		}

		// Token: 0x06007B24 RID: 31524 RVA: 0x001F03D0 File Offset: 0x001EE5D0
		public UserControlAI(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002A16 RID: 10774
		// (get) Token: 0x06007B25 RID: 31525 RVA: 0x001F57D0 File Offset: 0x001F39D0
		// (set) Token: 0x06007B26 RID: 31526 RVA: 0x001F5804 File Offset: 0x001F3A04
		public unsafe Transform moveTarget
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_moveTarget);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Transform(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_moveTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002A17 RID: 10775
		// (get) Token: 0x06007B27 RID: 31527 RVA: 0x001F582C File Offset: 0x001F3A2C
		// (set) Token: 0x06007B28 RID: 31528 RVA: 0x001F5854 File Offset: 0x001F3A54
		public unsafe float stoppingDistance
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_stoppingDistance);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_stoppingDistance)) = value;
			}
		}

		// Token: 0x17002A18 RID: 10776
		// (get) Token: 0x06007B29 RID: 31529 RVA: 0x001F5878 File Offset: 0x001F3A78
		// (set) Token: 0x06007B2A RID: 31530 RVA: 0x001F58A0 File Offset: 0x001F3AA0
		public unsafe float stoppingThreshold
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_stoppingThreshold);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(UserControlAI.NativeFieldInfoPtr_stoppingThreshold)) = value;
			}
		}

		// Token: 0x04005249 RID: 21065
		private static readonly IntPtr NativeFieldInfoPtr_moveTarget;

		// Token: 0x0400524A RID: 21066
		private static readonly IntPtr NativeFieldInfoPtr_stoppingDistance;

		// Token: 0x0400524B RID: 21067
		private static readonly IntPtr NativeFieldInfoPtr_stoppingThreshold;

		// Token: 0x0400524C RID: 21068
		private static readonly IntPtr NativeMethodInfoPtr_Update_Protected_Virtual_Void_0;

		// Token: 0x0400524D RID: 21069
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
