You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-14 20:20:06 +00:00
@@ -219,6 +219,24 @@ namespace Coffee.UIExtensions
|
|||||||
particles.Exec(p => p.Stop());
|
particles.Exec(p => p.Stop());
|
||||||
isPaused = true;
|
isPaused = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void StartEmission()
|
||||||
|
{
|
||||||
|
particles.Exec(p =>
|
||||||
|
{
|
||||||
|
var emission = p.emission;
|
||||||
|
emission.enabled = true;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public void StopEmission()
|
||||||
|
{
|
||||||
|
particles.Exec(p =>
|
||||||
|
{
|
||||||
|
var emission = p.emission;
|
||||||
|
emission.enabled = false;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
public void Clear()
|
public void Clear()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user