ounceDeath);
}

private void AnnounceDeath()
{
    Debug.Log(&quot;This character id now Dead&quot;);
    // Start funeral
    // End gameplay
    // Reflect on life choices...
}
</code></pre>
<div class="NOTE">
<h5>Note</h5>
<p>If the animation is marked as loopable, the <code>SetOnEnd()</code> action registered will be fired every time the last frame is played.</p>
</div>
</article>


        <div class="next-article d-print-none border-top" id="nextArticle"></div>
        
      </div>

      <div class=