public void Stop()
 {
     if (handle.HasValue) {
         handle.Value.Stop();
         handle = null;
     }
 }
Exemplo n.º 2
0
 public void Stop()
 {
     if (handle.HasValue)
     {
         handle.Value.Stop();
         handle = null;
     }
 }
Exemplo n.º 3
0
    /// <summary>
    /// 設定されているエフェクトを再生
    /// </summary>
    public void Play()
    {
        var h = EffekseerSystem.PlayEffect(effectName, transform.position);

        h.SetRotation(transform.rotation);
        h.SetScale(transform.localScale);
        handle = h;
    }
Exemplo n.º 4
0
 public void Play()
 {
     handle = EffekseerSystem.PlayEffect(effectName, transform.position);
     UpdateTransform();
 }
 public void Play()
 {
     handle = EffekseerSystem.PlayEffect(effectName, transform.position);
     UpdateTransform();
 }