using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000337 RID: 823
[Token(Token = "0x2000337")]
public class CFX_AutodestructWhenNoChildren : MonoBehaviour
{
	// Token: 0x0600208F RID: 8335 RVA: 0x0004D930 File Offset: 0x0004BB30
	[Token(Token = "0x600208F")]
	[Address(RVA = "0x1349030", Offset = "0x1347E30", VA = "0x181349030")]
	private void Update()
	{
		if (base.transform.childCount == 0)
		{
			UnityEngine.Object.Destroy(base.gameObject);
			return;
		}
	}

	// Token: 0x06002090 RID: 8336 RVA: 0x0004D960 File Offset: 0x0004BB60
	[Token(Token = "0x6002090")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public CFX_AutodestructWhenNoChildren()
	{
	}
}
