Files
Nathaniel Cosford 062dfab2cd Patched
2025-05-30 01:04:40 +09:30

18 lines
275 B
C#

using UnityEngine;
public class AnimationSmokeParticle : MonoBehaviour
{
private ParticleSystem ps;
private void Awake()
{
if (!TryGetComponent(out ps))
Destroy(this);
}
private void OnEnable()
{
ps.Clear(true);
}
}