[]Sprite加载图片 是异步操作吗?

this.bg_2.loadImage("background.png");
this.bg_2.pos(0,this.bg_2.height);
这时候 this.bg_2.height 的值打印出来是0
已邀请:

Monica - 知识达人

赞同来自:

是异步加载,你可以把资源预加载一下

要回复问题请先

商务合作
商务合作