cvr-props/Assets/ABI.CCK/Components/CVRBuilderSpawnable.cs

15 lines
379 B
C#
Raw Normal View History

using UnityEngine;
2023-01-22 16:38:23 +01:00
namespace ABI.CCK.Components
{
[AddComponentMenu("")]
[HelpURL("https://developers.abinteractive.net/cck/")]
public class CVRBuilderSpawnable : MonoBehaviour, ICCK_Component
2023-01-22 16:38:23 +01:00
{
private void Reset()
{
if (GetComponent<CVRSpawnable>() != null)
DestroyImmediate(this);
2023-01-22 16:38:23 +01:00
}
}
}