mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-07 08:09:13 +08:00
4 lines
139 B
JavaScript
4 lines
139 B
JavaScript
--------------------------------------------------
|
|
var textureAtlas = new cc.TextureAtlas();
|
|
textureAtlas.initWithTexture("hello.png", 3);
|