大约有 570 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0234 秒)
Laya_社区(206) Laya3.0_api(153) laya_api(87) Laya2.0_api(79) Laya2.0_文档(23) Laya3.0_文档(18) Laya2.0_示例(2) Laya_示例(2)
...gs?: any[]): void Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传...
来源: Laya3.0_api 发布时间: 20231115
动画播放完回调函数内,物体的坐标轴错乱 我在动画播放完的函数_ani.on(Event.STOPPED,this,ruturnRoad)的ruturnRoad方法内移动一个已经创建好的物体,发现这个物体的坐标轴错乱,原来X轴变为Z轴,原来Z轴变为X轴,物体坐标原来的坐标...
来源: Laya_社区 发布时间: 20171221
... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...
来源: Laya3.0_api 发布时间: 20231115
... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...
来源: Laya3.0_api 发布时间: 20231115
... Parameters type: string 事件的类型。 listener: Function 事件侦听函数。 Returns EventDispatcher 此 EventDispatcher 对象。 Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:113 Parameters type: string caller: any Optional listener: Function Optional args: a...
来源: Laya3.0_api 发布时间: 20231115
... function receiveHandler(msg:Object = null):void { ///接收到数据触发函数 } private function closeHandler(e:Object= null):void { //关闭事件 } private function errorHandler(e:Object = null):void { //连接出错 } } } ``` 注意:我们看到我们实例化Byte和socket的时候都...
来源: Laya2.0_文档 发布时间: 20210715
...你肯定知道坐标在X100 Y150 时要执行的是哪一个事件回调函数吧? 你监听个鼠标移动事件,当X100 Y150 时,执行你那个事件回调函数即可 Laya.stage.on(Event.MOUSE_MOVE,this,onMouseMove); private function onMouseMove():void { if(Laya.stage.mouseX == 100 &&...
来源: Laya_社区 发布时间: 20170607
sprite可以使用copy或clone类似的函数么 sprite可以使用copy或clone类似的函数么,我想复制一个精灵,坐标,纹理一样,但是不想用循环来处理 2017-08-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20170818
layaAir 编译器没有没像以前layaFlash,自动添加函数作用域的绑定? 2017-06-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: 有的,建议可以先看下layaAir的AP...
来源: Laya_社区 发布时间: 20170601
...super) { function LoginView() { LoginView.super(this); //调用父类构造函数 this.dlg; } function connect() { var hr = new Laya.HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestErro...
来源: Laya_社区 发布时间: 20170215