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

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

321. laya.components.AnimatorController2D_API3.0 [ 57%]

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

322. 如何给 list 子元素里面的不同子元素添加点击事件 [ 56%]

...听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 有什么容器能够实现当子元素达到显示上限后自动滚屏,使得新添加的元素始终保持在最底部显示? Animation如何加点击事件 ui list 里面的元素不能点击两次 laya2...

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

323. textinput动态修改宽度 会出现重叠的文字 [ 56%]

...适应输入文字的多少,它会自动加长的效果。 但是当我监听Event.INPUT,执行动态增加输入框宽度时,出现了文字重叠,很难看,   我的代码很简单就是 let input: Laya.TextInput = new Laya.TextInput(); input.skin = "new/textinput.png"; input.sizeGrid =...

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

324. laya.resource.AtlasResource_API3.0 [ 56%]

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

325. 按钮交互实现 [ 56%]

...ory=2d&group=Interaction&name=Mouse LayaAir中所有对象的事件监听方式都是一样的 2018-01-16 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zszen 相关问题 微信关系链:LayaAir引擎针对微信小游戏好...

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

326. laya.d3.component.animator.AnimatorController_API3.0 [ 56%]

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

327. 请问有没有方法能够获取“鼠标是否处于按下状态”? [ 56%]

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

328. laya.resource.Prefab_API3.0 [ 56%]

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

329. 发布Oppo小游戏屏幕适配bug [ 56%]

...容相关的链接 提交 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

330. 3D动画无法播放 [ 56%]

...dAt(0).getComponentByType(Animator) as Animator;             //监听默认动画完成后播放站立动画             shared.on(Event.COMPLETE,this,onAniComplete,[ani]);             //播放攻击动画             ani.play(); 在unity里测试正...

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