custom-chatbot / data /SpawnFX.cs
fastx's picture
Upload 84 files
ac55997
raw
history blame
269 Bytes
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnFX : MonoBehaviour
{
public Transform VFXPrefab;
private void OnDestroy()
{
Instantiate(VFXPrefab, transform.position, Quaternion.identity);
}
}