大约有 2,538 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1915) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(76) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(46)
...相关的链接 提交 1 个回复 189*****192 赞同来自: box.on(Laya.Event.CHANGE,this,方法名称); 2017-10-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 qq1297404644 相关问题 分享:自定义事件派发与侦听(...
来源: Laya_社区 发布时间: 20171024
...Scripts.Core { import laya.net.Socket; import laya.utils.Byte; import laya.events.Event; import Scripts.Core.MsgManger; import Scripts.Core.IHandler; import Scripts.Core.TipsManager; import laya.utils.Browser; /** * ... * @author */ public class Socketmanger{ private static var _I:Socketmanger; publ...
来源: Laya_社区 发布时间: 20170724
...用ide设置的 txtInput.wordWrap = true;//使用ide设置的 txtInput.on(Event.INPUT, this, onInputChange); private function reset(e:Event = null):void { clickStar = 0; txtInput.text = ""; txtLast.text = "剩余输入:" + WelfareNoticeMgr.MAX_WARD + "字"; } private ...
来源: Laya_社区 发布时间: 20170812
...ll Classes | Index | Frames No Frames CheckBoxProperties | Methods | Events Packagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显...
来源: laya_api 发布时间: 20170929
...yaNative2.6版本中,对Laya.Socket对象调用close方法后不会派发Event.CLOSE事件 2020-05-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20200520
...oid {} /** * 键盘按下时执行 */ public override function onKeyDown(e:Event):void {} /** * 键盘产生一个字符时执行 */ public override function onKeyPress(e:Event):void {} /** * 键盘抬起时执行 */ public override function onKeyUp(e:Event):void {} /** * 每帧更新时执行 */ pu...
来源: Laya2.0_文档 发布时间: 20210715
...出来 function onLoaded() { start = new GameStartUI(); start.btn_start.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(start); } function gameInit() { map = new GameBgUI(); Laya.stage.addChild(map); play = new GamPlayUI(); Laya.stage.addChild(play); hero = new Hero("hero", 25) hero.pos(100,200...
来源: Laya_社区 发布时间: 20180911
取消监听鼠标移动事件,取消不了 Laya.stage.off(Laya.Event.MOUSE_MOVE,this,null); 第三个参数是函数,不能为null吗?是不是和on绑定时的同一个函数,如果on里面用匿名函数,off第三个参数怎么写? 2018-06-23 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20180623
...段: let hr = new Laya.HttpRequest(); hr.http.timeout = 5000; hr.on(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Laya.Event.COMPLETE, this, (response)=>{ UIFactory.closeWaitBar(); this.onHttpRequestComplete(response); if(handleOk){ handleOk(response); } }); hr.once(Laya.Event...
来源: Laya_社区 发布时间: 20190308
...nion(0.7071068, 0, 0, -0.7071067); teapot2.meshFilter.sharedMesh.once(Laya.Event.LOADED, this, function () { var material = teapot2.meshRender.material; //反射贴图 material.reflectTexture = textureCube; }); Laya.timer.frameLoop(1, this, function () { teapot1.transform.rotate(this.rotation, false...
来源: Laya_示例 发布时间: 20251209