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

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

1841. laya.d3.core.trail.TrailSprite3D_API3.0 [ 38%]

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

1842. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 38%]

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

1843. ProtocolBuffer通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 38%]

... }); 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

1844. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 38%]

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

1845. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 37%]

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

1846. laya.ui.TextInput_API3.0 [ 37%]

.../display/Sprite.ts:1709 是否接受鼠标事件。 默认为false,如果监听鼠标事件,则会自动设置本对象及父节点的属性 mouseEnable 的值都为 true(如果父节点手动设置为false,则不会更改)。 Returns boolean Inherited from Text.mouseEnabled Defined in lay...

来源: Laya3.0_api 发布时间: 20231115

1847. laya.d3.core.material.Material_API3.0 [ 37%]

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

1848. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 37%]

...个方法分别用于主域向开放数据域发送消息和开放数据域监听主域发送的消息。 在Scene2D节点上添加一个自定义组件脚本,脚本中设置的代码如下所示: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //组件...

来源: Laya3.0_文档 发布时间: 20251010

1849. 微信关系链:LayaAir引擎针对微信小游戏好友关系链实现方案 [ 36%]

...); } }开发数据域接收主域透传消息处理类:/** * 事件派发监听管理类 * 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

1850. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 36%]

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