using System;
using UnityEngine;

// Token: 0x020000EF RID: 239
public class BirdMaterialChanger : MonoBehaviour
{
	// Token: 0x0600154B RID: 5451 RVA: 0x001983D8 File Offset: 0x001965D8
	private void Start()
	{
		this.ChangeMaterial();
	}

	// Token: 0x0600154C RID: 5452 RVA: 0x001983E0 File Offset: 0x001965E0
	private void ChangeMaterial()
	{
		base.GetComponentInChildren<SkinnedMeshRenderer>().sharedMaterial = this.materials[BirdMaterialChanger.counter];
		BirdMaterialChanger.counter++;
	}

	// Token: 0x04002529 RID: 9513
	public Material[] materials;

	// Token: 0x0400252A RID: 9514
	private static int counter;
}
