Skip to content

Instantly share code, notes, and snippets.

View mr-brooks-dev's full-sized avatar

Mattheiu Brooks mr-brooks-dev

View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeltObject : MonoBehaviour
{
public GameObject particlePrefab;
public string targetTag = "Lava";
public float objectDestroyDelay = 1f;