大约有 375 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0040 秒)
...r); else this._inActiveHierarchy(arr, fromSetter); for (let i = 0, n = arr.length; i < n; i++) { let comp = arr[i]; comp.owner && comp._setActive(active); } arr.length = 0; } 无名玩家X • 2023-10-10 20:22 呃...也不用反复强调你们没问题... 感谢大佬科普,但是"on...
来源: Laya_社区 发布时间: 20231007
...code(buffer); // ... do something with message // If your application uses length-delimited buffers, there is also encodeDelimited and decodeDelimited. } })();module laya { import Loader = Laya.Loader; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Network_ProtocolBuffer ...
来源: Laya_示例 发布时间: 20241125
...code(buffer); // ... do something with message // If your application uses length-delimited buffers, there is also encodeDelimited and decodeDelimited. } })();module laya { import Loader = Laya.Loader; import Browser = Laya.Browser; import Handler = Laya.Handler; export class Network_ProtocolBuffer ...
来源: Laya2.0_示例 发布时间: 20241125
...id { let uiResArray = []; let muduleName; for (let index = 0, len = mNames.length; index < len; index++) { muduleName = mNames[index]; uiResArray.push({ url: bigao.Utils.StringTool.formatString(ResUIModuleManager.moduleResPath, muduleName), type: Laya.Loader.ATLAS }); } Laya.loader.load(uiResArra...
来源: Laya_社区 发布时间: 20170905
...{ var seed = Laya.timer.currTimer * 0.002; for (var i = 0, n = this.lights.length; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChil...
来源: Laya2.0_文档 发布时间: 20210715
...{ var seed = Laya.timer.currTimer * 0.002; for (var i = 0, n = this.lights.length; i 加载场景,并且添加多光源 ```typescript Laya.Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Laya.Handler.create(this, function (scene) { //添加到场景 Laya.stage.addChil...
来源: Laya2.0_文档 发布时间: 20210715
..., "version2.json", "fileconfig.json"]; for(var i = 0; i < files.length; i++) { let fileUrl = files; console.log("加载文件测试", i, fileUrl); MiniFileMgr.readFile(fileUrl, "utf8", Laya.Handler.create(this, function() { ...
来源: Laya_社区 发布时间: 20200111
... return btn; } private onLoaded(){ for (let index = 0; index < this.btnArr.length; index++) { this.createButton(this.btnArr[index],this.nameArr[index],this._onclick,index); } this._canvas = window.document.getElementById("layaCanvas") as HTMLCanvasElement; this.aimSp = new Sprite(); this.aimSp.size(...
来源: Laya2.0_示例 发布时间: 20241125
...der, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > ![](img/1.png)(图1)
来源: Laya2.0_文档 发布时间: 20210715
...der, this.from, this.to, this.hitResults); for (i = 0, n = this.hitResults.length; i 该示例中射线摆放的模型是使用代码创建的,只是为了方便观察和理解形状扫描检测。 > ![](img/1.png)(图1)
来源: Laya2.0_文档 发布时间: 20210714