Kasper Karlgren c84494a697 new files
2025-01-21 13:54:40 +01:00

18 lines
336 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DistantLands.Cozy
{
[ExecuteAlways]
public class FXParent : MonoBehaviour
{
void OnEnable()
{
if (transform.parent == null)
DestroyImmediate(gameObject);
}
}
}