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

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

521. laya.ui.CheckBox [ 79%]

...ll Classes | Index | Frames No Frames CheckBoxProperties | Methods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button UIComponent Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显...

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

522. 如何获取安卓虚拟键的高度 [ 79%]

...链接 提交 2 个回复 qian 赞同来自: 你可以尝试监听舞台的Event.RESIZE、Event.FOCUS或者Event.INPUT尝试获取Laya.Browser.width、Laya.Browser.height,让初始化的宽高减去发生变化时可视区域的宽高,就是键盘的宽高! 2018-03-26 0 0 分享 微博 QZONE ...

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

523. laya.display.FrameAnimation [ 79%]

...sses | Index | Frames No Frames FrameAnimationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class FrameAnimationInheritanceFrameAnimation AnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses EffectAnimation 关键帧动画播放类。 Public Properties ...

来源: laya_api 发布时间: 20170929

524. Laya.Socket 是不是不支持Safari浏览器二进制格式的数据传输? [ 79%]

...); // this.socket.connectByUrl("ws://localhost:8989"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } priva...

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

525. 3D射线穿透UI问题 [ 79%]

... "切换动作")) as Laya.Button; button.name = "abc"; Laya.Button.on(Laya.Event.CLICK, this, function:void{ 具体实现  });     在另一个方法里面 Laya.stage.on(Laya.Event.MOUSE_UP, this, function(evt:Laya.Event):void{     console.log("aaaaa = " + evt.tager.name);  //这里名字是...

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

526. Dialog的onShow方法重写无效 [ 79%]

...写这样的代码: override protected function initialize():void { on(Event.ADDED, this, onShow); on(Event.REMOVED, this, onHide); } protected function onShow():void { } protected function onHide():void { }我创建的View类 重写onShow方法可以正常使用,但dialog重写就没用,我...

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

527. Unhandled promise rejection: Error: Cannot navigate to invalid URL [ 79%]

...node_modules/noice-json-rpc/lib/noice-json-rpc.js:42:48)     at emitOne (events.js:101:20)     at LoggingSocket.emit (events.js:191:7)     at Receiver.receiverOnMessage (/Applications/LayaAirIDE.app/Contents/Resources/app/extensions/laya-debug2/node_modules/ws/lib/websocket.js:719:20)     at...

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

528. 请问怎么获取当前节点添加了或删除了子节点事件 [ 79%]

...怎么获取当前节点添加了或删除了子节点事件   我把Laya.Event 看了好几遍,都没找到对应的事件名称。添加或者删除一个节点,应该是重要的事件类型,不应该没有吧。   2021-01-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

529. xhr的on和once什么区别,官网例子 [ 79%]

...w HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

530. Button连续点击触发MOUSE_OUT事件问题 [ 79%]

...============ button width: 155, height: 155 mouse position, x: 374, y: 835 event type: click button width: 155, height: 155 mouse position, x: 374, y: 835 event type: mouseout button width: 155, height: 155 mouse position, x: 374, y: 835 event type: click button width: 155, height: 155 mouse positio...

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