$begingroup$

I’m modding a 2D sport that closely relying on Animation Event to drive sport logic.
How to investigate animation occasion throughout runtime and through the use of unpack instruments?

  • During runtime, I might wish to know which animation fires the occasion, and the time level of the occasion within the animation.
  • By utilizing unpack instruments, I wish to view examine the entire sequence.
    In UABE, I may see m_Events in AnimationClip, however:
    • Is “float time” in seconds?
    • How to find SpriteRenderer, and so forth. from a AnimationClip? (I imply, for SpriteRenderer, Animator and so forth. do they all the time sit between 0-1 depth away, or they search one another deeper? Unity part dependencies are extraordinarily puzzling and undocumented)
    • Where is Animation Event’s receiver object saved?

$endgroup$

You should log in to reply this query.