大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0108 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
提示类已存在 Error!,this class[xxxxx] already exist: function xxxxx(){ … } 检查了文件,没有发现重复 改类名为aaaaa Error!,this class[aaaaa] already exist: function aaaaa(){ … } 问题已经存在 不知道问题出在哪里 2017-05-31 添加评论 免费帖 --> 分享 微博 ...
来源: Laya_社区 发布时间: 20170531
...相关的链接 提交 1 个回复 Laya_XS 赞同来自: var BackGround=(function(_super){ function BackGround(){ BackGround.__super.call(this); this.bg1 = new Laya.Sprite(); this.bg1.loadImage("comp/bg.png"); this.addChild(this.bg1); } Laya.class(BackGround,"BackGround",_super); return BackGround; ...
来源: Laya_社区 发布时间: 20170222
...个项对象,返回此项对象的索引id。 UIGroup callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya...
来源: laya_api 发布时间: 20170929
...好像不能加载网络路径图片 Uncaught TypeError: tex.once is not a function at Graphics.__proto.drawTexture (laya.core.js:1577) at onloaded (laya.core.js:1864) at Graphics.__proto.loadImage (laya.core.js:1860) at Function.Animation.createFrames (laya.core.js:17617) ...
来源: Laya_社区 发布时间: 20170719
...Node.ts:218 Parameters node: Node Returns Node callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:611 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...
来源: Laya3.0_api 发布时间: 20231102
...ew.atlas'], Handler.create(this, initGame)); Laya.timer.frameOnce(1, this, function () { Laya.stage.on(Event.RESIZE, this, function () { window.location.reload(); }) }) 2018-04-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20180416
...role.destroy(); role = null; assetsDispose(url) /**释放资源**/ private function assetsDispose(assetsUrl:String):void { Laya.loader.clearRes(assetsUrl); //加载盘释放的资源配置表 Laya.loader.load([{url:assetsUrl,type:Loader.JSON}], Handler.create(this,onAssetsOK,[assetsUrl])); } /**加...
来源: Laya_社区 发布时间: 20170904
... 报错内容是: TypeError: bt.RayResultCallback_set_m_flags is not a function bt.RayResultCallback_set_m_flags(this._btAllHitsRayResultCallback, flag); 附件 : --> 2022-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20220309
...gl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800); //显示一个图片 sp = Sprite.fromImage("res/bg.jpg"); Laya.stage.addChild(sp); //显示一个动画 var ani:Animation = new Animation(); ani.loadAtlas...
来源: Laya2.0_文档 发布时间: 20210714
...gl.WebGL; public class ClearTextureResTest { private var sp:Sprite; public function ClearTextureResTest() { WebGL.enable(); Laya.init(1000, 800); //显示一个图片 sp = Sprite.fromImage("res/bg.jpg"); Laya.stage.addChild(sp); //显示一个动画 var ani:Animation = new Animation(); ani.loadAtlas...
来源: Laya2.0_文档 发布时间: 20200929