}
}
- if( OptionalString endAction = constant.IsString( IsChild(child, "destroy-action" ) ) )
+ if( OptionalString endAction = constant.IsString( IsChild(child, "disconnect-action" ) ) )
{
if("BAKE" == *endAction)
{
- animation.SetDestroyAction( Animation::Bake );
+ animation.SetDisconnectAction( Animation::Bake );
}
else if("DISCARD" == *endAction)
{
- animation.SetDestroyAction( Animation::Discard );
+ animation.SetDisconnectAction( Animation::Discard );
}
else if("BAKE_FINAL" == *endAction)
{
- animation.SetDestroyAction( Animation::BakeFinal );
+ animation.SetDisconnectAction( Animation::BakeFinal );
}
}
// so that we can avoid the actors overlapping during orientation change.
animation.Resize( actor, shrink, AlphaFunctions::EaseOut, 0.0f, durationSeconds * 0.5f );
animation.Resize( actor, size, AlphaFunctions::EaseIn, 0.0f, durationSeconds );
- animation.SetDestroyAction( Animation::Bake );
}
}
}
Animation animation = Animation::New( mOrientationAnimationDuration );
- animation.SetDestroyAction( Animation::Bake );
animation.RotateTo( Self(), Degree( -angle ), Vector3::ZAXIS, mOrientationAnimationAlphaFunc );
animation.Play();
}
}
- mRotateAnimation.SetDestroyAction( Animation::Bake );
-
Toolkit::View handle( GetOwner() );
mOrientationAnimationStartedSignalV2.Emit( handle, mRotateAnimation, orientation );