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

namespace RootMotion
{
	// Token: 0x020003A8 RID: 936
	public class DemoGUIMessage : MonoBehaviour
	{
		// Token: 0x06007560 RID: 30048 RVA: 0x001DECA8 File Offset: 0x001DCEA8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 590699, XrefRangeEnd = 590709, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnGUI()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DemoGUIMessage.NativeMethodInfoPtr_OnGUI_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007561 RID: 30049 RVA: 0x001DECEC File Offset: 0x001DCEEC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 590709, XrefRangeEnd = 590711, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe DemoGUIMessage()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DemoGUIMessage.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007562 RID: 30050 RVA: 0x001DED38 File Offset: 0x001DCF38
		// Note: this type is marked as 'beforefieldinit'.
		static DemoGUIMessage()
		{
			Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion", "DemoGUIMessage");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr);
			DemoGUIMessage.NativeFieldInfoPtr_text = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr, "text");
			DemoGUIMessage.NativeFieldInfoPtr_color = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr, "color");
			DemoGUIMessage.NativeMethodInfoPtr_OnGUI_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr, 100672141);
			DemoGUIMessage.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoGUIMessage>.NativeClassPtr, 100672142);
		}

		// Token: 0x06007563 RID: 30051 RVA: 0x0000351C File Offset: 0x0000171C
		public DemoGUIMessage(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002834 RID: 10292
		// (get) Token: 0x06007564 RID: 30052 RVA: 0x001DEDB8 File Offset: 0x001DCFB8
		// (set) Token: 0x06007565 RID: 30053 RVA: 0x001DEDE1 File Offset: 0x001DCFE1
		public unsafe string text
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoGUIMessage.NativeFieldInfoPtr_text);
				return IL2CPP.Il2CppStringToManaged(*intPtr);
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoGUIMessage.NativeFieldInfoPtr_text), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x17002835 RID: 10293
		// (get) Token: 0x06007566 RID: 30054 RVA: 0x001DEE08 File Offset: 0x001DD008
		// (set) Token: 0x06007567 RID: 30055 RVA: 0x001DEE30 File Offset: 0x001DD030
		public unsafe Color color
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoGUIMessage.NativeFieldInfoPtr_color);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoGUIMessage.NativeFieldInfoPtr_color)) = value;
			}
		}

		// Token: 0x04004EC7 RID: 20167
		private static readonly IntPtr NativeFieldInfoPtr_text;

		// Token: 0x04004EC8 RID: 20168
		private static readonly IntPtr NativeFieldInfoPtr_color;

		// Token: 0x04004EC9 RID: 20169
		private static readonly IntPtr NativeMethodInfoPtr_OnGUI_Private_Void_0;

		// Token: 0x04004ECA RID: 20170
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
