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

// Token: 0x02000229 RID: 553
public class CollisionTest : MonoBehaviour
{
	// Token: 0x0600520E RID: 21006 RVA: 0x00146BC0 File Offset: 0x00144DC0
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTest.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600520F RID: 21007 RVA: 0x00146C04 File Offset: 0x00144E04
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 575511, XrefRangeEnd = 575535, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTest.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005210 RID: 21008 RVA: 0x00146C48 File Offset: 0x00144E48
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe CollisionTest()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CollisionTest.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005211 RID: 21009 RVA: 0x00146C94 File Offset: 0x00144E94
	// Note: this type is marked as 'beforefieldinit'.
	static CollisionTest()
	{
		Il2CppClassPointerStore<CollisionTest>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CollisionTest");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr);
		CollisionTest.NativeFieldInfoPtr_sub = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr, "sub");
		CollisionTest.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr, 100668799);
		CollisionTest.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr, 100668800);
		CollisionTest.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CollisionTest>.NativeClassPtr, 100668801);
	}

	// Token: 0x06005212 RID: 21010 RVA: 0x0000351C File Offset: 0x0000171C
	public CollisionTest(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001D33 RID: 7475
	// (get) Token: 0x06005213 RID: 21011 RVA: 0x00146D14 File Offset: 0x00144F14
	// (set) Token: 0x06005214 RID: 21012 RVA: 0x00146D48 File Offset: 0x00144F48
	public unsafe Transform sub
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CollisionTest.NativeFieldInfoPtr_sub);
			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(CollisionTest.NativeFieldInfoPtr_sub), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003617 RID: 13847
	private static readonly IntPtr NativeFieldInfoPtr_sub;

	// Token: 0x04003618 RID: 13848
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04003619 RID: 13849
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400361A RID: 13850
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
