Upload from upload_mods.ps1
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class AnimationSmokeParticle : MonoBehaviour
|
||||
{
|
||||
private ParticleSystem ps;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
if (!TryGetComponent(out ps))
|
||||
Destroy(this);
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
ps.Clear(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user