Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback IAnimationClipSource - handling added clips?

Discussion in 'Animation' started by Baste, Apr 1, 2019.

  1. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,266
    The IAnimationClipSource interface is great, as it allows us to edit clips on our own components in the Animation window. Sweet!

    But, I'd love if it also contained an "OnClipAdded" method, to allow us to react to the user creating a new clip through the Animation Window. When they do that, I want to add that clip to my component's list of clips and then set that component dirty, but right now there's no way to do that, so I only have half the functionality of what the Animation/Animator component gets.

    Unless I'm missing something obvious.
     
  2. Kybernetik

    Kybernetik

    Joined:
    Jan 3, 2013
    Posts:
    2,537
    I second this. I would really like my Animancer plugin to be able to support a full workflow without needing any AnimatorControllers even temporarily.