Spine Animation Name property type

This user property type allows any string values but provides a dialog for selecting an animation name. This dialog lists the names of all animations defined in all the Spine skeleton assets in the Asset Pack files of the project. You can pick one name, then it is set as a value of the property.

Spine animation name dialog.

The scene compiler generates Spine Animation Name properties like this:

class Player extends SpineGameObject {

    constructor(..) {
        ...
    }

    startAnimation: string;
}

And the code it generates in the scene is like this:

player.startAnimation = "idle";