Search Unity

Stop animation looping

Discussion in 'Animation' started by xeonheart, Nov 29, 2018.

  1. xeonheart

    xeonheart

    Joined:
    Jul 24, 2018
    Posts:
    219
    Hello,

    hopefully this is simple, thought it was, but trying to stop animation just for 1 animation out of the 6 i have, wondering if i can do this in C# or just for the animation properties itself without affecting the others that need to loop.

    thanks in advance :)
     
  2. PGJ

    PGJ

    Joined:
    Jan 21, 2014
    Posts:
    899
    You can turn off Loop Time in the Animation Clip.
     
  3. xeonheart

    xeonheart

    Joined:
    Jul 24, 2018
    Posts:
    219
    Hey PGJ, big thanks, i am blind as a bat, cant find it, do you know where? if you can maybe screen shot the image?
     
  4. BrokenShekel

    BrokenShekel

    Joined:
    Feb 28, 2017
    Posts:
    3
    Click the animation itself in the Project view. Loop Time with a checkbox next to hit should be the first thing you see in the inspector. Uncheck the box.
     
    MrMajorThorburn likes this.
  5. xeonheart

    xeonheart

    Joined:
    Jul 24, 2018
    Posts:
    219
    found it, big thanks everyone :)