Hi there,
I was just wondering if it’s possible to stop all animations that are on a specific layer?
The only way I can see to stop animations is based on their name.
Thanks
Pete
Hi there,
I was just wondering if it’s possible to stop all animations that are on a specific layer?
The only way I can see to stop animations is based on their name.
Thanks
Pete
Does this work for you?
function StopLayer( layer : int ) {
for ( var a : Animation in animation ) {
if ( a.layer == layer ) animation.Blend( a.name, 0.0, 0.01 );
}
}
Hey Vincenti,
I haven’t had a chance to implement the code yet but it looks like that would be a cool, hacky way to stop them!
Thanks
Pete