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

大约有 94 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0084 秒)

81. laya.display.Scene [ 53%]

... All Classes | Index | Frames No Frames SceneProperties | Methods | Events Packagelaya.displayClasspublic class SceneInheritanceScene Sprite Node EventDispatcher Object 场景类,负责场景创建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回...

来源: Laya2.0_api 发布时间: 20190513

82. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 52%]

...h(config); console.log(`Running 'rollup watcher'...`); let tS; watcher.on('event', (event) => { // event.code 会是下面其中一个: // START — 监听器正在启动(重启) // BUNDLE_START — 构建单个文件束 // BUNDLE_END — 完成文件束构建 // END — 完成所有文件...

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

83. 2.0按钮添加事件报错 cannot read property 'on' fof undefined [ 52%]

...组件 layanative2 打包android平台 报错 btCollisionObject undefined event自定义事件的问题 IDE通过.ui自动生成的ui代码报错 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 点击事件不起效 问题状态 最新活动: 2020-07-01 11:21 浏览: ...

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

84. laya.ui.View_API3.0 [ 49%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex...

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

85. 我在dialog a上继续弹出dialog b 。需要关闭b的时候,a依然存在。怎么做? [ 49%]

...t; Here is DlgNote2"); this.closeEffect = null; this.closeBtn.on(Laya.Event.CLICK, this, this.toClose); //this.show(); } b的关闭方法: toClose():void{ //Laya.Scene.open("datiPage.scene"); this.close(); } a和b都是独立的ts类, export default class a extends ui.a {……} ...

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

86. socket无法连接服务器 [ 49%]

...d;         private initSocket(): void {             this.on(Laya.Event.OPEN, this, this.onConected);             this.on(Laya.Event.ERROR, this, this.onError);         }         public conectToServer(): void { //“连接”按钮的回调             if (this.connected...

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

87. laya.display.Scene_API3.0 [ 47%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex...

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

88. LayaBox HelloWorld实战 [ 47%]

...agArea = '0,0,300,600'; dialog.show(); } onEnable() { this.btnShow.on(Laya.Event.CLICK,this,this.onBtnShowClick); } onDisable() { } } 是不是以为到了这一步就结束了,别着急,还有关键的一个步骤,就是把helloworld.js和我们的场景关联起来。 最后一步:拖拽he...

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

89. laya.ui.DialogManager_API3.0 [ 42%]

...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close closeAll closeByGroup contains customRender destroy destroyChildren doClose doOpen drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt get...

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

90. zip更新模式缓存是怎么读取的?? [ 41%]

...本:   /** * 更新。 * @param {string} url zip下载地址 * @param {(event:string,downloadPercent:number,curfile:string)=>boolean} onEvent 事件的回调。 * 事件名称: * 'downloading' 下载中,这时候downloadPercent有值 * 'downloadError' 下载错误 * 'downloadOK' 下载成...

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