mirror of
https://github.com/galacean/engine.git
synced 2026-05-10 00:39:31 +08:00
fix: opt get sprites error
This commit is contained in:
@@ -45,7 +45,7 @@ export class SpriteAtlas extends ReferResource {
|
||||
sprite.name === name && outSprites.push(sprite);
|
||||
}
|
||||
} else {
|
||||
console.warn("The name of the sprite you want to find is not exit in SpriteAtlas.");
|
||||
console.warn("There is no sprite named " + name + " in the atlas.");
|
||||
}
|
||||
return outSprites;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user