[]this.bitmap.activeResource is not a function TypeError: this.bitmap.activeResource is not a function
if (bitmap&&bitmap._addReference){
bitmap._addReference();
}
这个代码过滤已经加了,但是会报下面这个错
this.bitmap.activeResource is not a function
TypeError: this.bitmap.activeResource is not a function
使用代码如下:var rankTexture:Texture = new Texture(Laya.Browser.window.sharedCanvas);
var image:Laya.Image = new Laya.Image();
image.source = rankTexture;
Laya.stage.addChild(image);
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
Laya_XS
赞同来自:
if(bitmap&&bitmap.activeResource)
{
bitmap.activeResource();
}
祝贺
赞同来自: