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

15 lines
No EOL
379 B
C#
Executable file

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