fgm24/Assets/Scripts/BloodCrystalSpawner.cs

13 lines
288 B
C#
Raw Permalink Normal View History

2024-02-09 11:25:50 +01:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BloodCrystalSpawner : MonoBehaviour
{
public GameObject BloodCrystalPrefab;
public void Die() {
Instantiate(BloodCrystalPrefab, transform.position, Quaternion.identity);
}
}