Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question how to extend animations by a few seconds in unity

Discussion in 'Code Editors & IDEs' started by Eekoko, Jul 28, 2022.

  1. Eekoko


    Oct 27, 2021
    I have an animation that lasts exactly 1 sec. I need to extend it to x sec using the variable "rTime". For example, a variable is equal to 3 and the animation must be 3 seconds long, and the question is how to do that in code.
  2. MelvMay


    Unity Technologies

    May 24, 2013
    I don't think Code Editors & IDEs is the correct forum for an animation question.

    Animation Forum would be more appropriate.