Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Resetting a animation for clamped sequence player

Discussion in 'Project Tiny' started by Zoelovezle, Mar 4, 2019.

  1. Zoelovezle

    Zoelovezle

    Joined:
    Aug 7, 2015
    Posts:
    54
    How can i replay a sequence which is set to loop=>Once or loop=>ClampedForever

    Figured out ! :)

    Set the player to play once . After the animation is complete the sequence player resets the animation and pauses . Get the component and unpause it :)
     
    Last edited: Mar 4, 2019
  2. Rupture13

    Rupture13

    Joined:
    Apr 12, 2016
    Posts:
    131
    In general, setting SequencePlayer time to 0 and paused to false resets the animation.