大约有 444 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya3.0_api(152) Laya_社区(125) Laya2.0_api(67) laya_api(55) Laya2.0_文档(28) Laya3.0_文档(16) Laya2.0_示例(1)
... }); wss.on("connection", (ws) => { console.log("Client connected"); // 监听消息 ws.on("message", (data) => { // 将接收到的二进制数据buffer解码(反序列化)为ChatMessage对象 const receivedMessage = ChatMessage.decode(new Uint8Array(data)); console.log("Received ChatMessage ...
来源: Laya3.0_文档 发布时间: 20251010
... 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
... 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
...这时就可以用到缓动完成回调,在回调函数中再加入按钮监听。 ##### delay delay是延迟执行的时间,稍后会通过实例中的延迟执行制作出文本缓动的波动效果。 ### 3. 缓动实例 #### 3.1 Tween.from()的实例 下列代码中,我们先通过Tween.fr...
来源: Laya2.0_文档 发布时间: 20210715
...这时就可以用到缓动完成回调,在回调函数中再加入按钮监听。 ##### delay delay是延迟执行的时间,稍后会通过实例中的延迟执行制作出文本缓动的波动效果。 ### 3. 缓动实例 #### 3.1 Tween.from()的实例 下列代码中,我们先通过Tween.fr...
来源: Laya2.0_文档 发布时间: 20210715
... 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
...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 on on(type: string, listener: Function): EventDispatcher on(type: string, caller: any, listener: Function, args?: any[]): EventDispatcher Inherited from Event...
来源: Laya3.0_api 发布时间: 20231115