13 lines
288 B
C#
13 lines
288 B
C#
|
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);
|
||
|
}
|
||
|
}
|