Pink/Assets/Scripts/Items/Firepit.cs

15 lines
254 B
C#
Raw Normal View History

using UnityEngine;
namespace Pink.Items
{
class Firepit: MonoBehaviour
{
public ParticleSystem explosionParticles;
void OnTriggerEnter2D(Collider2D collider)
{
explosionParticles.Play();
}
}
}