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

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

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

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

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

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

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

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

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

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

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

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

530. 能否知道当前是不是在调用手机键盘? [ 79%]

...盘会导致游戏舞台发生改变,你可以为你的舞台监听一个Event.RASIZE事件,判断Browser.width和Browser.height是否发生改变,如果发生改变,表示已经调用了键盘事件,如果Browser.width和Browser.height依然等于原始宽高,表示没有调起键盘,...

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