The animation update method has been refactored to improve performance and readability. Instead of calling the UpdateAnimation method with a boolean parameter, it now returns a boolean value indicating whether the animation is still ongoing. Additionally, unnecessary variables and commented-out code have been removed.
The animation update method has been refactored to improve performance and readability. Instead of calling the
UpdateAnimation
method with a boolean parameter, it now returns a boolean value indicating whether the animation is still ongoing. Additionally, unnecessary variables and commented-out code have been removed.