serializeAnimation
(obj:
GameObj
, name:
string
)
:
Animation
Serializes the animation to plain objects