Function serializeAnimation(obj: GameObj, name: string): Animation Serializes the animation to plain objects param obj - The game obj to serialize.returns The serialized animation.since v3001.0group Components