[LayaAir 1.0]this.bitmap.activeResource is not a function.

排行榜主域绘制开放数据域sharedCanvas时候报错。代码如下:
var rankTexture = new Laya.Texture(Laya.Browser.window.sharedCanvas);
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);
报:this.bitmap activeResource is not a function
已邀请:

天梦君

赞同来自:

我也遇到这个问题了,谁能来解答下

tt8998781

赞同来自:

你好,请问下解决了吗

1622087314用户

赞同来自:

我也遇到这个问题了 不知道咋回事能说下咋弄嘛

要回复问题请先

商务合作
商务合作