using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020001D4 RID: 468
[Token(Token = "0x20001D4")]
public class GameObjectEnable : SceneEvent
{
	// Token: 0x0600145A RID: 5210 RVA: 0x0002E6B0 File Offset: 0x0002C8B0
	[Token(Token = "0x600145A")]
	[Address(RVA = "0xA260D0", Offset = "0xA250D0", VA = "0x180A260D0", Slot = "5")]
	public override void OpenEvent()
	{
		if (base.gameObject.activeSelf)
		{
			base.OpenEvent();
			GameObject[] @event = this.Event;
			int num = 0;
			if (num < @event.Length)
			{
				GameObject gameObject = @event[num];
				bool enable = this.Enable;
				gameObject.SetActive(enable);
				GameObject[] event2 = this.Event;
				num++;
			}
		}
	}

	// Token: 0x0600145B RID: 5211 RVA: 0x0002E70C File Offset: 0x0002C90C
	[Token(Token = "0x600145B")]
	[Address(RVA = "0x32DFD0", Offset = "0x32CFD0", VA = "0x18032DFD0")]
	public GameObjectEnable()
	{
	}

	// Token: 0x04001EDA RID: 7898
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001EDA")]
	public GameObject[] Event;

	// Token: 0x04001EDB RID: 7899
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001EDB")]
	public bool Enable;
}
