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

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

611. UI 控件多次调用 RESIZE 回调问题 [ 64%]

...aya.Event.RESIZE, this, () => { console.warn(" resize ===== "); }) Laya.stage.addChild(a); Laya.timer.loop(1000, this, () => { a.addChild(new Laya.Box()); }); --------------- 测试代码如上,每1s会回调一次控件 a 的 RESIZE 方法,这个是否正常? 引擎版本:Laya.version...

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

612. laya.display.AnimationBase_API3.0 [ 64%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...

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

613. 关于import 导入包的问题 [ 64%]

关于import 导入包的问题 package { import laya.display.Stage; import laya.ui.Label; import laya.webgl.WebGL; }像这种样子的代码,import后面的这些包是哪里来的,为什么我在.ts文件中写package关键字会报错,这种代码我粘贴下来也是会报错 2017-08-02...

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

614. laya.map.MapLayer_API3.0 [ 64%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

615. laya.ui.DialogManager_API3.0 [ 64%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX ske...

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

616. laya.display.FrameAnimation_API3.0 [ 64%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY s...

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

617. 分享:简单聊天室 [ 64%]

...his,onSendClick1); // enter键发送默认字体或输入框内字体 Laya.stage.on(Event.KEY_DOWN,this,onKeyDown); } private function onKeyDown(e:Event):void { // 当按下enter健自动发送文字 if(e.keyCode==13) { change(str); } } // 发送文字样式二,如果input有值的话,发送inpu...

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

618. 使用方向键 控制精灵在格子中移动 [ 64%]

...RPG游戏开发 可以加我的微信 一起研究 13890999   事件 Laya.stage.on(Laya.Event.KEY_UP,this,this.onkeyup); Laya.stage.on(Laya.Event.KEY_DOWN,this,this.onkeydown); Laya.timer.frameLoop(1,this,this.loop);事件响应 onkeyup(e){ for(let i:number = 0;i<this.keyList.length;i++){ if(thi...

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

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

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY playing rotation scaleX scaleY scene scroll...

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

620. Invalid character: '`' Stack:[native code]异常 [ 64%]

...网络异常,请检查您的网络或与开发商联系...”, 修改stage的scale后,会发生异常情况 真机环境找不到window---cant find variable: window stack 1.7.15 小游戏3d 发布后在手机预览显示异常 unity到导出场景加载时抛异常,不知所措 请问有人...

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