using System;
using Cpp2IlInjected;
using UnityEngine;

namespace ch.sycoforge.Decal.Demo
{
	// Token: 0x02000639 RID: 1593
	[Token(Token = "0x2000639")]
	public class Footprints : MonoBehaviour
	{
		// Token: 0x0600326F RID: 12911 RVA: 0x0006C9E8 File Offset: 0x0006ABE8
		[Token(Token = "0x600326F")]
		[Address(RVA = "0x368340", Offset = "0x367340", VA = "0x180368340")]
		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: 0x06003270 RID: 12912 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003270")]
		[Address(RVA = "0x3683F0", Offset = "0x3673F0", VA = "0x1803683F0")]
		public void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003271 RID: 12913 RVA: 0x0006CA14 File Offset: 0x0006AC14
		[Token(Token = "0x6003271")]
		[Address(RVA = "0x368920", Offset = "0x367920", VA = "0x180368920")]
		public Footprints()
		{
		}

		// Token: 0x04003CD1 RID: 15569
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4003CD1")]
		public EasyDecal DecalPrefab;

		// Token: 0x04003CD2 RID: 15570
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4003CD2")]
		public float DistanceThreshold = 0.8f;

		// Token: 0x04003CD3 RID: 15571
		[FieldOffset(Offset = "0x24")]
		[Token(Token = "0x4003CD3")]
		public float FootDistance = 0.5f;

		// Token: 0x04003CD4 RID: 15572
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4003CD4")]
		private float distance;

		// Token: 0x04003CD5 RID: 15573
		[FieldOffset(Offset = "0x2C")]
		[Token(Token = "0x4003CD5")]
		private int index;

		// Token: 0x04003CD6 RID: 15574
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4003CD6")]
		private Vector3 lastPosition;
	}
}
