using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020000EC RID: 236
[Token(Token = "0x20000EC")]
public class CohesionFloorRatate : MonoBehaviour
{
	// Token: 0x06000B8F RID: 2959 RVA: 0x0001A6FC File Offset: 0x000188FC
	[Token(Token = "0x6000B8F")]
	[Address(RVA = "0xB99E30", Offset = "0xB98E30", VA = "0x180B99E30")]
	private void Update()
	{
		if (this.IsRotate)
		{
			float playerDeltaTime = Game.GetPlayerDeltaTime();
			if (0 < (int)playerDeltaTime)
			{
				float rotateSpeed = this.RotateSpeed;
				Transform transform = base.transform;
				int num = 0;
				int num2 = 0;
				transform.Rotate((float)num2, (float)num, rotateSpeed);
			}
		}
	}

	// Token: 0x06000B90 RID: 2960 RVA: 0x0001A744 File Offset: 0x00018944
	[Token(Token = "0x6000B90")]
	[Address(RVA = "0xB99EF0", Offset = "0xB98EF0", VA = "0x180B99EF0")]
	public CohesionFloorRatate()
	{
	}

	// Token: 0x0400128B RID: 4747
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400128B")]
	public float RotateSpeed = 10f;

	// Token: 0x0400128C RID: 4748
	[FieldOffset(Offset = "0x1C")]
	[Token(Token = "0x400128C")]
	public bool IsRotate = true;
}
