大约有 444 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya3.0_api(152) Laya_社区(125) Laya2.0_api(67) laya_api(55) Laya2.0_文档(28) Laya3.0_文档(16) 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
...添加与控制的,在stage范围内,可以控制显示、进行事件监听,碰撞检测等,所以对stage宽高的适配还是非常重要的。 在DevTools控制台,我们可以通过引擎API(Laya.stage.width和Laya.stage.height),查看舞台宽高。 2、LayaAir屏幕适配模式详...
来源: Laya3.0_文档 发布时间: 20251010
...ero.pos(200,500); // 放置到舞台上 Laya.stage.addChild(this.hero); // 监听舞台的鼠标移动事件 Laya.stage.on(Laya.Event.MOUSE_MOVE,this,onMouseMove); // 手动创建敌人 // createEnemy(10); // 定时器自动循环创建敌人 Laya.timer.frameLoop(1,this,onLoop); } function onLoop() ...
来源: Laya_社区 发布时间: 20170525
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher oldparseEndEvent oldparseEndEvent(): void Inherited from Material.oldparseEndEvent Defined in laya/d3/core/material/Material.ts:850 Returns void on on(type: s...
来源: Laya3.0_api 发布时间: 20231102
... 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 发布时间: 20231102
... 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
... 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 发布时间: 20231102
... 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
... 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
...面的大小,但stage范围内,可以控制显示,可以进行事件监听,碰撞检测等,所以对stage宽高的适配还是非常重要的。 在不同的屏幕分辨率比例下,总会无法通过引擎的适配模式一次到位的情况,难以做到既想等比缩放,又想在...
来源: Laya2.0_文档 发布时间: 20210715