Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

AnimatOR.crossfade issues

Discussion in 'Scripting' started by Nyxxakai, Feb 13, 2016.

  1. Nyxxakai

    Nyxxakai

    Joined:
    Jun 14, 2012
    Posts:
    41
    Trying to get Animator.crossfade() to work in c#. Every time I attempt to google it I get animation.crossfade answers.

    Currently have it setup in the script as:
    Animator.CrossFade("animName", timeToCrossFade);

    It seems to crossfade from the current animation to the called animation, but it pauses all animations instead of letting them loop. Is this intended? How do I keep the animations looping?

    Thanks.
     
    khoaharp likes this.