Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Feedback AnimatorControllerPlayable.CrossFade* - API inconsistencies

Discussion in 'Animation' started by WendelinReich, May 27, 2020.

  1. WendelinReich


    Dec 22, 2011
    Hi Mecanim devs!

    I'm trying to wrap my head around some oddities in the signatures of AnimatorControllerPlayable.CrossFade() and CrossFadeInFixedTime() (in Unity 2019.3). First of all, the documentation seems out of sync - neither method has a variant with a 'normalizedTransitionTime' parameter, as documented here and here. Furthermore, the other parameter names don't match either (CrossFadeInFixedTime offers fixedTime, the documentation says fixedTimeOffset), and this makes their meaning hard to decode.

    More importantly though, I would like to call CrossFadeInFixedTime and give it a normalized transition offset. This is possible in editor but not via scripting, which seems odd. Am I missing something?

    Alex54620 likes this.
  2. JacobDzwinel


    Dec 19, 2013
    Hey, did you find any solution for this? I'm looking for the same answer.