大约有 697 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(344) Laya3.0_api(152) Laya2.0_api(96) laya_api(62) Laya2.0_文档(29) Laya3.0_文档(13) Laya2.0_示例(1)
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
...听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? Animation如何加点击事件 ui list 里面的元素不能点击两次 laya2...
来源: Laya_社区 发布时间: 20180507
...适应输入文字的多少,它会自动加长的效果。 但是当我监听Event.INPUT,执行动态增加输入框宽度时,出现了文字重叠,很难看, 我的代码很简单就是 let input: Laya.TextInput = new Laya.TextInput(); input.skin = "new/textinput.png"; input.sizeGrid =...
来源: Laya_社区 发布时间: 20170820
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
...ory=2d&group=Interaction&name=Mouse LayaAir中所有对象的事件监听方式都是一样的 2018-01-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zszen 相关问题 微信关系链:LayaAir引擎针对微信小游戏好...
来源: Laya_社区 发布时间: 20180116
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
...g92tong 、cuixueying 、Zabe 如果 你想 再鼠标 按下的时候 才监听 move事件的话! onMouseDown 中 Laya.stage.on(Event.MOUSE_MOVE, this, onMouseMove); onMouseUp 中 Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); 也可以写个变量 ,down的时候为true,否...
来源: Laya_社区 发布时间: 20170421
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115
...容相关的链接 提交 1 个回复 陈广文 赞同来自: oppo 不能监听 下面的函数重置ui。注释掉就好了。自问自答,希望有用。 Laya.stage.on(Laya.Event.RESIZE, this, this.resize); static resize(): void { // let w = this.config.width; // let h = this.config.height...
来源: Laya_社区 发布时间: 20200520
...dAt(0).getComponentByType(Animator) as Animator; //监听默认动画完成后播放站立动画 shared.on(Event.COMPLETE,this,onAniComplete,[ani]); //播放攻击动画 ani.play(); 在unity里测试正...
来源: Laya_社区 发布时间: 20180118