using System; using UnityEngine; namespace ABI.CCK.Components { public class CVRBuilderSpawnable : MonoBehaviour { private void Reset() { if (GetComponent() != null) { Invoke("DestroyThis", 0); } } void DestroyThis() { DestroyImmediate(this); } } }