public void Stop() { if (handle.HasValue) { handle.Value.Stop(); handle = null; } }
/// <summary> /// 設定されているエフェクトを再生 /// </summary> public void Play() { var h = EffekseerSystem.PlayEffect(effectName, transform.position); h.SetRotation(transform.rotation); h.SetScale(transform.localScale); handle = h; }
public void Play() { handle = EffekseerSystem.PlayEffect(effectName, transform.position); UpdateTransform(); }