using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200019D RID: 413
[Token(Token = "0x200019D")]
public class GameObjectEnable : SceneEvent
{
	// Token: 0x060012BB RID: 4795 RVA: 0x0002AFD0 File Offset: 0x000291D0
	[Token(Token = "0x60012BB")]
	[Address(RVA = "0x545630", Offset = "0x544430", VA = "0x180545630", 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: 0x060012BC RID: 4796 RVA: 0x0002B02C File Offset: 0x0002922C
	[Token(Token = "0x60012BC")]
	[Address(RVA = "0x30DE20", Offset = "0x30CC20", VA = "0x18030DE20")]
	public GameObjectEnable()
	{
	}

	// Token: 0x04001D12 RID: 7442
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001D12")]
	public GameObject[] Event;

	// Token: 0x04001D13 RID: 7443
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001D13")]
	public bool Enable;
}
