大约有 1,599 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0055 秒)
Laya_社区(983) Laya2.0_文档(205) Laya3.0_api(176) Laya2.0_api(99) laya_api(85) Laya3.0_文档(33) Laya_示例(9) Laya2.0_示例(9)
...2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasList...
来源: Laya3.0_api 发布时间: 20231115
...改引擎资源版本管理的方法,修改成每次访问资源时为 name.png?v=12345的格式,而非name12345.png的格式 2018-11-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 123黄 相关问题 请问LayaAir中如何使图...
来源: Laya_社区 发布时间: 20181109
...ssets[0]); dialog.addChild(bg); var button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } })();module laya...
来源: Laya_示例 发布时间: 20241118
...通不过 { “subpackages”: [ { “name”: “stage1”, “root”: “stage1” //可指定一个目录,根目录下game.js会作为入口文件,目录下所有资源将会统一打包 }, { ...
来源: Laya_社区 发布时间: 20181228
...ssets[0]); dialog.addChild(bg); let button = new Button(assets[1]); button.name = Dialog.CLOSE; button.pos(DIALOG_WIDTH - CLOSE_BTN_WIDTH - CLOSE_BTN_PADDING, CLOSE_BTN_PADDING); dialog.addChild(button); dialog.dragArea = "0,0," + DIALOG_WIDTH + "," + DIALOG_HEIGHT; dialog.show(); } } new UI_Dialog(...
来源: Laya2.0_示例 发布时间: 20241118
...te2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll offAllCaller on once Properties clipEnd clipEnd: number = 1 Defined in laya/components/AnimatorState2D.t...
来源: Laya3.0_api 发布时间: 20231115
...nstructors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy even...
来源: Laya3.0_api 发布时间: 20231115
...rite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentI...
来源: Laya3.0_api 发布时间: 20231115
...a.PhysicsComponent): void { console.log("box2_onTriggerStay " + this.owner.name + " "+ other.owner.name); let b1:Laya.BoundBox = this.box.meshRenderer.boundingBox; let box2:Laya.MeshSprite3D = other.owner as Laya.MeshSprite3D; let b2:Laya.BoundBox = box2.meshRenderer.boundingBox; }获取boundingBox...
来源: Laya_社区 发布时间: 20181116
...n bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) });打开.vscode/launch.json可知道使用的是Debugger for Chrome插件来调试 { "version": "0.2.0", "configurations": [ { "name": "chrome调试"...
来源: Laya_社区 发布时间: 20200918