Momo-Space-Diner-Code-Repo / TrashFire.cs
TrashFire.cs
Raw
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class TrashFire : MonoBehaviour
{
    // Start is called before the first frame update
    public ParticleSystem Fire;
    public AudioSource FireSound;


    private void OnTriggerEnter(Collider other)
    {
        Fire.Play();
        FireSound.Play();
    }

    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }
}