Parses a Unity YAML File and creates Frames in the Texture. For more details about Sprite Meta Data see https://docs.unity3d.com/ScriptReference/SpriteMetaData.html
name | type | description |
---|---|---|
texture | Phaser.Textures.Texture |
The Texture to add the Frames to. |
sourceIndex | number |
The index of the TextureSource. |
yaml | object |
The YAML data. |
The Texture modified by this parser.