大约有 1,584 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(1113) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(50) Laya3.0_api(11) Laya2.0_api(2)
...ector3(0, -1.0, -1.0); var grid = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticModel/grid/plane.lh")); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); layaMonkey.once(Laya.Event.HIERARCHY_LOADED, this, function () { var...
来源: Laya_示例 发布时间: 20251130
... onPlaySound() { console.log("播放音效"); Laya.SoundManager.playSound("res/sounds/btn.mp3", 1, new Laya.Handler(this, this.onComplete)); } // 播放音乐 onPlayMusic() { console.log("播放音乐"); Laya.SoundManager.playMusic("res/sounds/bgm.mp3", 1, new Laya.Handler(this, this.onComplete)); }...
来源: Laya2.0_示例 发布时间: 20251130
...nPlayMusic(e) { console.log("播放音乐"); SoundManager.playMusic("../../res/sounds/bgm.mp3", 1, new Handler(this, onComplete)); } function onPlaySound(e) { console.log("播放音效"); SoundManager.playSound("../../res/sounds/btn.mp3", 1, new Handler(this, onComplete)); } function onComplete() { ...
来源: Laya_示例 发布时间: 20251130
...个音效会重复加载好多次, 我用的Laya.SoundManager.playSound("res/sound/match.wav", 1, new Handler(this, this.onComplete)); version.json里配置是这样的: "res/sound/Match.wav":"res/sound/Match6888397f.wav" 2018-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20180615
...光滑度贴图。 `normalTexture:BaseTexture` 法线贴图。 `normalTextureScale:Number` 法线贴图缩放系数。 `occlusionTexture:BaseTexture` 遮挡贴图。 `occlusionTextureStrength:Number` 遮挡贴图强度。 `parallaxTexture:BaseTexture` 视差贴图。 `parallaxTextureScale:Number` ...
来源: Laya2.0_文档 发布时间: 20210715
...llBar { /***垂直滚动条资源**/ private var skins:Array=["../../../../res/ui/vscroll.png", "../../../../res/ui/vscroll$bar.png", "../../../../res/ui/vscroll$down.png", "../../../../res/ui/vscroll$up.png"]; /***提示信息文本框**/ private var promptText:Text; /****垂直滚动条****/ priva...
来源: Laya2.0_文档 发布时间: 20210715
...llBar { /***水平滚动条资源**/ private var skins:Array=["../../../../res/ui/hscroll.png", "../../../../res/ui/hscroll$bar.png", "../../../../res/ui/hscroll$down.png", "../../../../res/ui/hscroll$up.png"]; /***提示信息文本框**/ private var promptText:Text; /****水平滚动条****/ priva...
来源: Laya2.0_文档 发布时间: 20210714
...atlas文件,何解???例如官方的例子:Laya.loader.load(["./res/atlas/ListPage.atlas", "res/atlas/template/ButtonTab.atlas"], Handler.create(this, this.onLoaded)); 而我F12发布,根本没有这个ListPage.atlas,只有ButtonTab.atlas 附件 : --> 2017-09-04 添加评论 免...
来源: Laya_社区 发布时间: 20170904
...博 QZONE 微信 a'ゞ莫名奇妙 赞同来自: MyProject/hjkg_0422/bin//res_v1.0/ 我看不到你的工程结构,你可以在res后面多加个/; 2018-04-26 0 1 分享 微博 QZONE 微信 一点一滴 赞同来自: 上传一个demo,我看下具体原因 2018-04-26 0 0 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20180426
...路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("../../res/ui/listskins/1.jpg"); data.push("../../res/ui/listskins/2.jpg"); data.push("../../res/ui/listskins/3.jpg"); data.push("../../res/ui/listskins/4.jpg"); data.push("../../res/ui/listskins/5.jpg"); } list.array = data; } fun...
来源: Laya_社区 发布时间: 20180724