mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
Added .inst.
http://www.esotericsoftware.com/forum/viewtopic.php?p=5430#p5430
This commit is contained in:
parent
4b7a9633a7
commit
727899c4ff
@ -22,7 +22,7 @@ public class SpriteCollectionAttachmentLoader : AttachmentLoader {
|
||||
if (index != -1)
|
||||
name = name.Substring(index + 1);
|
||||
|
||||
tk2dSpriteDefinition def = sprites.GetSpriteDefinition(name);
|
||||
tk2dSpriteDefinition def = sprites.inst.GetSpriteDefinition(name);
|
||||
|
||||
if (def == null)
|
||||
throw new Exception("Sprite not found in atlas: " + name + " (" + type + ")");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user