public void Stop() { if (effectObj) { effectObj.Destroy(); effectObj = null; } }
public override void Destroy() { if (psObj) { psObj.Destroy(); } if (sndObj) { sndObj.Destroy(); } isPlaying = false; }