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