mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Merge branch '3.8' into 3.9-beta
This commit is contained in:
commit
f748dd555b
@ -45,7 +45,7 @@ package spine.atlas {
|
||||
else if (object is ByteArray)
|
||||
load(ByteArray(object).readUTFBytes(ByteArray(object).length), textureLoader);
|
||||
else
|
||||
throw new ArgumentError("object must be a TextureAtlas or AttachmentLoader.");
|
||||
throw new ArgumentError("object must be a string or ByteArray containing .atlas data.");
|
||||
}
|
||||
|
||||
protected function load(atlasText : String, textureLoader : TextureLoader) : void {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user