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

// Token: 0x02000355 RID: 853
public class TextureScroll : MonoBehaviour
{
	// Token: 0x060070C8 RID: 28872 RVA: 0x001C985C File Offset: 0x001C7A5C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585103, XrefRangeEnd = 585107, 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: 0x060070C9 RID: 28873 RVA: 0x001C98A0 File Offset: 0x001C7AA0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585107, XrefRangeEnd = 585113, 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: 0x060070CA RID: 28874 RVA: 0x001C98E4 File Offset: 0x001C7AE4
	[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: 0x060070CB RID: 28875 RVA: 0x001C9930 File Offset: 0x001C7B30
	// 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, 100671681);
		TextureScroll.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TextureScroll>.NativeClassPtr, 100671682);
		TextureScroll.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<TextureScroll>.NativeClassPtr, 100671683);
	}

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

	// Token: 0x170026EB RID: 9963
	// (get) Token: 0x060070CD RID: 28877 RVA: 0x001C99C4 File Offset: 0x001C7BC4
	// (set) Token: 0x060070CE RID: 28878 RVA: 0x001C99EC File Offset: 0x001C7BEC
	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: 0x170026EC RID: 9964
	// (get) Token: 0x060070CF RID: 28879 RVA: 0x001C9A10 File Offset: 0x001C7C10
	// (set) Token: 0x060070D0 RID: 28880 RVA: 0x001C9A44 File Offset: 0x001C7C44
	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: 0x04004AD0 RID: 19152
	private static readonly IntPtr NativeFieldInfoPtr_scrollSpeed;

	// Token: 0x04004AD1 RID: 19153
	private static readonly IntPtr NativeFieldInfoPtr_rend;

	// Token: 0x04004AD2 RID: 19154
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04004AD3 RID: 19155
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04004AD4 RID: 19156
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
