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

// Token: 0x020003AD RID: 941
public class TextureScroll : MonoBehaviour
{
	// Token: 0x0600791B RID: 31003 RVA: 0x001EC5A4 File Offset: 0x001EA7A4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617404, XrefRangeEnd = 617408, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TextureScroll.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600791C RID: 31004 RVA: 0x001EC5E8 File Offset: 0x001EA7E8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 617408, XrefRangeEnd = 617414, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(TextureScroll.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x0600791E RID: 31006 RVA: 0x001EC678 File Offset: 0x001EA878
	// Note: this type is marked as 'beforefieldinit'.
	static TextureScroll()
	{
		Il2CppClassPointerStore<TextureScroll>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "TextureScroll");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<TextureScroll>.NativeClassPtr);
		TextureScroll.NativeFieldInfoPtr_scrollSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<TextureScroll>.NativeClassPtr, "scrollSpeed");
		TextureScroll.NativeFieldInfoPtr_rend = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<TextureScroll>.NativeClassPtr, "rend");
		TextureScroll.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TextureScroll>.NativeClassPtr, 100672394);
		TextureScroll.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TextureScroll>.NativeClassPtr, 100672395);
		TextureScroll.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TextureScroll>.NativeClassPtr, 100672396);
	}

	// Token: 0x0600791F RID: 31007 RVA: 0x0000351C File Offset: 0x0000171C
	public TextureScroll(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002986 RID: 10630
	// (get) Token: 0x06007920 RID: 31008 RVA: 0x001EC70C File Offset: 0x001EA90C
	// (set) Token: 0x06007921 RID: 31009 RVA: 0x001EC734 File Offset: 0x001EA934
	public unsafe float scrollSpeed
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TextureScroll.NativeFieldInfoPtr_scrollSpeed);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TextureScroll.NativeFieldInfoPtr_scrollSpeed)) = value;
		}
	}

	// Token: 0x17002987 RID: 10631
	// (get) Token: 0x06007922 RID: 31010 RVA: 0x001EC758 File Offset: 0x001EA958
	// (set) Token: 0x06007923 RID: 31011 RVA: 0x001EC78C File Offset: 0x001EA98C
	public unsafe Renderer rend
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(TextureScroll.NativeFieldInfoPtr_rend);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Renderer(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(TextureScroll.NativeFieldInfoPtr_rend), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04005079 RID: 20601
	private static readonly IntPtr NativeFieldInfoPtr_scrollSpeed;

	// Token: 0x0400507A RID: 20602
	private static readonly IntPtr NativeFieldInfoPtr_rend;

	// Token: 0x0400507B RID: 20603
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x0400507C RID: 20604
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x0400507D RID: 20605
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
