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); } }