@@ -25,6 +25,7 @@
* Added support for clipping.
* Added support for rotated regions in texture atlas loaded via StarlingAtlasAttachmentLoader.
* Added support for vertex effects. See `RaptorExample.as`
+ * Added 'getTexture()' method to 'StarlingTextureAtlasAttachmentLoader'
## C
* **Breaking changes**
@@ -56,6 +56,10 @@ package spine.starling {
Bone.yDown = true;
}
+
+ protected function getTexture(path:String):Texture {
+ return atlas.getTexture(path);
+ }
public function newRegionAttachment(skin : Skin, name : String, path : String) : RegionAttachment {
var texture : Texture = atlas.getTexture(path);