using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200038F RID: 911
[Token(Token = "0x200038F")]
public class CFX_AutodestructWhenNoChildren : MonoBehaviour
{
	// Token: 0x06002358 RID: 9048 RVA: 0x00054BB0 File Offset: 0x00052DB0
	[Token(Token = "0x6002358")]
	[Address(RVA = "0xB89910", Offset = "0xB88910", VA = "0x180B89910")]
	private void Update()
	{
		if (base.transform.childCount == 0)
		{
			UnityEngine.Object.Destroy(base.gameObject);
			return;
		}
	}

	// Token: 0x06002359 RID: 9049 RVA: 0x00054BE0 File Offset: 0x00052DE0
	[Token(Token = "0x6002359")]
	[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
	public CFX_AutodestructWhenNoChildren()
	{
	}
}
