serializeAnimation(obj: GameObj, name: string): Animation

Serializes the animation to plain objects

paramobj- The game obj to serialize.

returnsThe serialized animation.

sincev3001.0