[LayaAir 1.0]this.bitmap.activeResource is not a function.
排行榜主域绘制开放数据域sharedCanvas时候报错。代码如下:
var rankTexture = new Laya.Texture(Laya.Browser.window.sharedCanvas);报:this.bitmap activeResource is not a function
rankTexture.bitmap.alwaysChange = true;//小程序使用,非常费
let sprite = new Laya.Sprite();
sprite.graphics.drawTexture(rankTexture, 0, 0, rankTexture.width, rankTexture.height);
this._content.addChild(sprite);
sprite.pos(40, 190);
没有找到相关结果
已邀请:
要回复问题请先登录
3 个回复
天梦君
赞同来自:
tt8998781
赞同来自:
1622087314用户
赞同来自: