• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0207 秒)

1701. 提示类已存在 [ 72%]

提示类已存在 Error!,this class[xxxxx] already exist: function xxxxx(){ … } 检查了文件,没有发现重复 改类名为aaaaa Error!,this class[aaaaa] already exist: function aaaaa(){ … } 问题已经存在 不知道问题出在哪里 2017-05-31 添加评论 免费帖 --> 分享 微博 ...

来源: Laya_社区 发布时间: 20170531

1702. 新手,图片加载不进去,没有报错。很疑问 [ 72%]

...相关的链接 提交 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

1703. laya.ui.Tab [ 72%]

...个项对象,返回此项对象的索引id。 UIGroup callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya...

来源: laya_api 发布时间: 20170929

1704. laya 好像不能加载网络路径图片 [ 72%]

...好像不能加载网络路径图片 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

1705. laya.device.media.Video_API3.0 [ 72%]

...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

1706. Laya IDE横竖屏切换时,不断刷新 [ 72%]

...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

1707. 模型资源释放 [ 72%]

...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

1708. laya.d3.js报错 [ 72%]

... 报错内容是: TypeError: bt.RayResultCallback_set_m_flags is not a function             bt.RayResultCallback_set_m_flags(this._btAllHitsRayResultCallback, flag);     附件 : --> 2022-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

来源: Laya_社区 发布时间: 20220309

1709. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 72%]

...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

1710. Texture内存回收(ActionScript-2D进阶篇(AS3)-性能优化) [ 72%]

...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