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

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

601. 建议:Laya.init(width, height)设定后可以动态调整 [ 65%]

...,w,h只是个临时变量啊 reven1983 • 2017-02-09 21:02 好像Laya.stage.size()就行了,非常感谢 reven1983 • 2017-02-09 21:03 Laya的文档真的太少了 Laya_XS • 2017-02-09 22:54 文档在完善,很快文档就健全了!

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

602. Laya2.2.0,官方demo,Iphone Xs Max 14.0 锁屏小游戏卡死 [ 65%]

...ppStatus = AppEvent.onShow; console.log(this.appStatus, '---------'); Laya.stage.renderingEnabled = true//恢复渲染 Laya.updateTimer.resume() //恢复onUpdate Laya.timer.resume(); //恢复时间 Laya.timer.scale = 1; }) window['wx'].onHide(() => { this.event(AppEvent.onHide); this.appStatus = ...

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

603. laya.ui.UIComponent [ 65%]

...设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像...

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

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

605. laya.d3.core.scene.VRScene [ 64%]

...lean是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node enableDepthFog : BooleanBaseScene enableFog : Boolean 获取是否允许雾化。 BaseScene enableLight : Boolean = true 是否启用灯光。BaseScene...

来源: laya_api 发布时间: 20170422

606. tiledMap场景切换问题 [ 64%]

...6-20 10:28 destroy() 150*****745 • 2018-06-05 12:06 我用的是Laya.stage.on(Laya.Event.CLICK, this, function (e) {}),请问怎么销毁,销毁以后到下一个页面要重新绑定事件吗? Laya_Aaron • 2018-06-05 14:56 @150*****745:你的代码不给我讲我很难找到你说的...

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

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

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

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

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

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

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