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

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

181. 场景管理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 66%]

...gt; { Scene.showLoadingPage(); return Scene.load(url, Handler.create(null, this._onSceneLoaded, [closeOther, complete, param]), progress); } (图2-1) 例如创建名为 OpenScene 的场景,保存在assets路径下 uiDemo/page/OpenScene.ls,代码中可以这样打开场景,同时不关闭...

来源: Laya3.0_文档 发布时间: 20251010

182. 附加脚本的使用问题 [ 66%]

... _owner: any;     public set owner(o: laya.display.Sprite) {         this._owner = o;         console.log("设置owner");     }     public get owner(): laya.display.Sprite {         return this._owner;     } } 新建脚本类如上。运行项目时,构造方法中的log被输...

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

183. 微信小游戏分包实战(TypeScript-小游戏适配文档-微信小游戏) [ 65%]

...ui:any; constructor(){ //监听按钮btnA的点击事件,触发后处理 this.GameMain.newUI.btnA.on(Laya.Event.CLICK, this, this.showB); } //显示B页 private showB():void { this.GameMain.showUI(this.ui.bUI,this.GameMain.newUI) //监听按钮btnB的点击事件,触发后处理 this.GameMain.ne...

来源: Laya2.0_文档 发布时间: 20210715

184. 目前3d支持摄像机动画吗 [ 65%]

...阿  会提示  =mediumYou don't have permission to access /demo2/ on this server.   2019-01-05 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 herosNerverDie 相关问题 LayaBox IDE 支持多开吗 Animator 如何获取当前所有...

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

185. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 65%]

...ict checking of property initialization in classes. */     // "noImplicitThis": true,                /* Raise error on 'this' expressions with an implied 'any' type. */     // "alwaysStrict": true,                  /* Parse in strict mode and emit "use strict" for each source fi...

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

186. laya.ui.ColorPicker_API3.0 [ 64%]

...背景颜色。 Laya.loader.load("resource/ui/color.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():void { trace("资源加载完成!"); var colorPicket:ColorPicker = new ColorPicker();//创建一个 ColorPicker 类的实例对象 colorPicket 。 co...

来源: Laya3.0_api 发布时间: 20231115

187. laya.ui.WXOpenDataViewer_API3.0 [ 64%]

... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...

来源: Laya3.0_api 发布时间: 20231102

188. laya.ani.swf.MovieClip_API3.0 [ 64%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231115

189. Skeleton骨骼动画内存泄漏 [ 64%]

...ton; private onKeyDown(e):void{ if(e.keyCode == 49 || e.keyCode == 97){ if(this.te == null){ this.te = new Laya.Templet(); this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.de...

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

190. laya.html.dom.HTMLIframeElement_API3.0 [ 64%]

...器。功能同Laya.timer.clearTimer()。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:536 当前容器是否包含指定的 Node 节点对象 ...

来源: Laya3.0_api 发布时间: 20231102