大约有 1,884 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya_社区(1502) Laya3.0_api(155) Laya2.0_api(97) laya_api(63) Laya2.0_文档(46) Laya3.0_文档(20) 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
...el.getComponentByType(Laya.Animator) as Laya.Animator; //动画完成事件监听 this.roleAni.on(Laya.Event.COMPLETE,this,this.onComplete); } /*覆写3D组件更新方法(相当于帧循环)*/ public _update(state:Laya.RenderState):void{ //如果是攻击状态播放击球动画(优先播放...
来源: Laya_社区 发布时间: 20171113
... }); 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
.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
... in laya/events/EventDispatcher.ts:146 移除caller为target的所有事件监听 Parameters caller: any caller对象 Returns EventDispatcher oldparseEndEvent oldparseEndEvent(): void Defined in laya/d3/core/material/Material.ts:1062 override it Returns void on on(type: string, listener: Function): ...
来源: Laya3.0_api 发布时间: 20231115
...个方法分别用于主域向开放数据域发送消息和开放数据域监听主域发送的消息。 在Scene2D节点上添加一个自定义组件脚本,脚本中设置的代码如下所示: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //组件...
来源: Laya3.0_文档 发布时间: 20251010
...); } }开发数据域接收主域透传消息处理类:/** * 事件派发监听管理类 * author xiaosong * @date 2017-02-26 */ public class MsgMgr { /**共享画布类型**/ public static var SHAREDRESIZE:String = "sharedresize"; private static var _i:MsgMgr = null; public function MsgMgr() { su...
来源: Laya_社区 发布时间: 20180525
... 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