serializeAnimation(obj: GameObj, name: string): Animation Serializes the animation to plain objectsparamobj- The game obj to serialize.returnsThe serialized animation.sincev3001.0groupComponents