fgm24/Assets/Scripts/BloodCrystal.cs

12 lines
240 B
C#
Raw Normal View History

2024-02-09 12:24:42 +01:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BloodCrystal : MonoBehaviour
{
public void Break() {
BloodComputeShader.Instance.cleanAllBlood();
Destroy(gameObject);
}
}