2024-08-03 22:24:42 +02:00
|
|
|
|
using UnityEngine;
|
2023-01-22 16:38:23 +01:00
|
|
|
|
|
|
|
|
|
namespace ABI.CCK.Components
|
|
|
|
|
{
|
2024-08-03 22:24:42 +02:00
|
|
|
|
[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)
|
2024-08-03 22:24:42 +02:00
|
|
|
|
DestroyImmediate(this);
|
2023-01-22 16:38:23 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|