大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(2466) Laya2.0_文档(107) Laya3.0_文档(62) Laya_示例(52) Laya3.0_api(51) Laya2.0_示例(43) laya_api(4) Laya2.0_api(4)
...w-y:hidden;background-color: #000;'> <script src='LayaSample.max.js' loader='laya'></script> </body> </html> 背景没有赋值成黑色 2017-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 ...
来源: Laya_社区 发布时间: 20170711
"加载模型时出现LoaderManager:unknown file(E:/layaprj/layascene/bin/null path) extension with: null." unity 5.6 ide:1.7.10 tool:1.6.0 2017-10-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 Monica - 知...
来源: Laya_社区 发布时间: 20171016
...点击事件,急,大神帮看哈 预设怎么在代码中使用 Laya.Loader.getRes请教 IDE通过.ui自动生成的ui代码报错 刮刮卡效果实现 请教一个关于laya2.5d项目美术规范的问题哈 dialog 自定义关闭效果,效果执行完,弹窗无法关闭 请教下微信小...
来源: Laya_社区 发布时间: 20180316
...可以把json放在网络中动态加载读取。 #### 4、声音无法用loader预加载 由于微信小游戏不支持预加载声音文件到内存的使用方式,直接用SoundManger音频管理类进行声音播放即可。 ### 后续更新: 本篇文档会汇总开发者在微信小游戏...
来源: Laya2.0_文档 发布时间: 20210715
... ```typescript // A plane receive shadow. var grid = scene.addChild(Laya.Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); grid.getChildAt(0).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite = this.addPBRSphere(Laya.PrimitiveMesh.createSphere(0.1...
来源: Laya2.0_文档 发布时间: 20210715
... = ["resources/res/ui/dialog (1).png", "resources/res/ui/close.png"]; Laya.loader.load(this.assets).then( ()=>{ this.onSkinLoadComplete(); } ); } private onSkinLoadComplete(e: any = null): void { this.dialog = new Laya.Dialog(); var bg: Laya.Image = new Laya.Image(this.assets[0]); this.dialog.add...
来源: Laya3.0_文档 发布时间: 20230303
...存的方式缓存资源,但是缓存借口不支持数组和我已有的loader代码没有配合性。问题二请问在laya里面调用那些借口获取已经缓存的文件目录大小,以便我手动控制缓存大小 linchenrr • 2018-06-22 11:43 @shiyang12345:曾经提过建议,但是...
来源: Laya_社区 发布时间: 20180621
...showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load("../../res/bg2.png", Handler.create(this, setup)); })(); function setup() { var bg = new Sprite(); bg.loadImage("../../res/bg2.png"); Laya.stage.addCh...
来源: Laya_社区 发布时间: 20170826
...`typescript // A plane receive shadow. var grid: Sprite3D = scene.addChild(Loader.getRes("res/threeDimen/staticModel/grid/plane.lh")); (grid.getChildAt(0)).meshRenderer.receiveShadow = true; ....... // A sphere cast/receive shadow. var sphereSprite: MeshSprite3D = this.addPBRSphere(PrimitiveMesh.cre...
来源: Laya2.0_文档 发布时间: 20210715
...y EventDispatcher Resource Node Transform3D SoundChannel Sound HttpRequest Loader AnimatorState AnimatorState2D Physics AnimationPlayer AxiGamepad ButtonGamepad WebXRInput WebXRSessionManager Accelerator Shake Gyroscope Socket TimeLine Index Methods event hasListener off offAll offAllCaller on once ...
来源: Laya3.0_api 发布时间: 20231115