Search Unity

Question how to extend animations by a few seconds in unity

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

  1. Eekoko

    Eekoko

    Joined:
    Oct 27, 2021
    Posts:
    1
    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

    MelvMay

    Unity Technologies

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

    Animation Forum would be more appropriate.