using System;
using Cpp2IlInjected;
using UnityEngine;

namespace ch.sycoforge.Decal.Demo
{
	// Token: 0x020005E1 RID: 1505
	[Token(Token = "0x20005E1")]
	public class Footprints : MonoBehaviour
	{
		// Token: 0x06002FA6 RID: 12198 RVA: 0x00065718 File Offset: 0x00063918
		[Token(Token = "0x6002FA6")]
		[Address(RVA = "0x4C5B10", Offset = "0x4C4910", VA = "0x1804C5B10")]
		public void Start()
		{
			EasyDecal decalPrefab = this.DecalPrefab;
			int num = 0;
			if (decalPrefab == num)
			{
				Debug.LogError("The DynamicDemo script has no decal prefab attached.");
				return;
			}
		}

		// Token: 0x06002FA7 RID: 12199 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002FA7")]
		[Address(RVA = "0x4C5BC0", Offset = "0x4C49C0", VA = "0x1804C5BC0")]
		public void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002FA8 RID: 12200 RVA: 0x00065744 File Offset: 0x00063944
		[Token(Token = "0x6002FA8")]
		[Address(RVA = "0x4C60F0", Offset = "0x4C4EF0", VA = "0x1804C60F0")]
		public Footprints()
		{
		}

		// Token: 0x040039E7 RID: 14823
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x40039E7")]
		public EasyDecal DecalPrefab;

		// Token: 0x040039E8 RID: 14824
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x40039E8")]
		public float DistanceThreshold = 0.8f;

		// Token: 0x040039E9 RID: 14825
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x40039E9")]
		public float FootDistance = 0.5f;

		// Token: 0x040039EA RID: 14826
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x40039EA")]
		private float distance;

		// Token: 0x040039EB RID: 14827
		[FieldOffset(Offset = "0x2C")]
		[Token(Token = "0x40039EB")]
		private int index;

		// Token: 0x040039EC RID: 14828
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x40039EC")]
		private Vector3 lastPosition;
	}
}
