12 lines
185 B
C#
12 lines
185 B
C#
using UnityEngine;
|
|
|
|
public class VFXDestroyer : MonoBehaviour
|
|
{
|
|
[SerializeField] float destroyDelay = 1f;
|
|
|
|
void Start()
|
|
{
|
|
Destroy(gameObject, destroyDelay);
|
|
}
|
|
}
|