Animation.Stopfunction Stop () : voidDescriptionStops all playing animations that were started with this Animation. Stopping an animation also Rewinds it to the Start.
JavaScript
// Stop all animations using UnityEngine; import UnityEngine function Stop (name : String) : voidDescriptionStops an animation named name. Stopping an animation also Rewinds it to the Start.
JavaScript
// Stop the walk animation using UnityEngine; import UnityEngine |
