大约有 33 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0042 秒)
...nnectError); // 建立连接(此处使用 connectByUrl 方式,实际可根据需要选择其他方式) this.socket.connectByUrl("wss://echo.websocket.org:443"); } /** 连接成功回调,发送字符串数据 */ private onSocketOpen(e: any): void { console.log("WebSocket 已连接"); // 发...
来源: Laya3.0_文档 发布时间: 20251010
...点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以直接this._data = {}; this._data = IEditor.DataWatcher.watch({}); //inspect可以多次调用,将多个数据组合在一个面板编辑 this._panel.inspect(this._d...
来源: Laya3.0_文档 发布时间: 20251010
...Loader.createNodes("res/threeDimen/scene/TerrainScene/XunLongShi.ls"))); //根据场景中方块生成路径点 this.initPath(this.scene); //获取可行走区域模型 var meshSprite3D: MeshSprite3D = (<MeshSprite3D>this.scene.getChildByName('Scenes').getChildByName('HeightMap')); //使可行...
来源: Laya3.0_文档 发布时间: 20230303