projectile);
    });
}
</code></pre>
<p>No need to unsubscribe since every time a new animation is played all its subscriptions are cleared.</p>
<p>While using the <a href="../animations-manager/index.html">Animations Manager</a> window, you can even set IDs to frames so you can inform actions to be fired when
a frame associated with that ID plays:</p>
<p><img src="../../images/frame-id-slash.png" alt="Frame ID Slash"></p>
<pre><code class="lang-csharp">public void PlaySwordAttack()
{
    _animator.Play(&qu