mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
Update example to show atlas is passed.
This commit is contained in:
parent
dff7b5ee77
commit
53a5f1afe3
@ -37,7 +37,7 @@ var atlas;
|
||||
function loadAtlas (atlasText) {
|
||||
var textureCount = 0;
|
||||
atlas = new spine.Atlas(atlasText, {
|
||||
load: function (page, path) {
|
||||
load: function (page, path, atlas) {
|
||||
textureCount++;
|
||||
graphicsDevice.createTexture({
|
||||
src: "../data/" + path,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user