大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0059 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
... onAwake() { console.log("场景渲染完成", this.speed); } } IDE中报错: [15:26:34] Working directory changed to E:\LayaAirIDE\resources\app [15:26:35] Using gulpfile E:\myLaya\demo2\.laya\compile.js [15:26:35] Starting 'compile'... [15:26:38] '...
来源: Laya_社区 发布时间: 20191227
...意见? Laya.Scene.load(view.url).then((scene) => { this.openList.set(id, scene); scene.onEnable(); scene.onOpened(param); scene.open(false, param); }); 附件 : --> 2023-12-21 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20231221
...要写上类型 Laya.loader.load([{url:url,type:"image"}], Handler.create(this,function(){ //接下来 }));5.接下来回调,卸载之前的资源 Laya.loader.clearRes(oldUrl);6.加载Texture2D 这样就原图片地址是个Texture2D,生成的URL地址是个Texture 2019-02-19 0 0 分享 微...
来源: Laya_社区 发布时间: 20181221
... clip.play(); } this.ElementView.addChild(clip); } config.xml本份规矩,老老实实,勤勤恳恳用utf8编码的,长这个样子 <layout> <clip id="1" res="res/logo.png" anchorX="0.5" ancho...
来源: Laya_社区 发布时间: 20170918
...('scene', scene.active, scene.activeInHierarchy); Laya.timer.frameOnce(10, this, () => { console.log('scene 2', scene.active, scene.activeInHierarchy); }); 日志: 附件 : --> demo.zip 2019-04-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20190422
...3/WebXR/core/WebXRSessionManager.ts:55 The current reference space used in this session. Returns any XRReferenceSpace; Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:62 set 参考空间 Parameters newReferenceSpace: any Returns void XRReferenceSpace; sessionMode get sessionMode(): any Defined ...
来源: Laya3.0_api 发布时间: 20231115
...dAtlas("http://10.10.20.58/chicken/res ... ot%3B,laya.utils.Handler.create(this,function(){ //添加到舞台 Laya.stage.addChild(roleAni); roleAni.play(); })); 代码就这几行.... 2018-03-22 0 0 分享 微博 QZONE 微信 wdmingzi2 赞同来自: 只是单纯的调用加载接口 然后...
来源: Laya_社区 发布时间: 20180322
..............按钮点击事件 监听 changeMeshButton.on(Laya.Event.CLICK, this, function(){ index++; if (index % 5 === 1 ){ //切换mesh sphere.meshFilter.sharedMesh = box; } else if (index % 5 === 2){ //切换mesh sphere.meshFilter.sharedMesh = capsule; } else if(index % 5 === 3){ //切换mesh sph...
来源: Laya2.0_文档 发布时间: 20210714
..............按钮点击事件 监听 changeMeshButton.on(Laya.Event.CLICK, this, function(){ index++; if (index % 5 === 1 ){ //切换mesh sphere.meshFilter.sharedMesh = box; } else if (index % 5 === 2){ //切换mesh sphere.meshFilter.sharedMesh = capsule; } else if(index % 5 === 3){ //切换mesh sph...
来源: Laya2.0_文档 发布时间: 20210715
...D) as Rigidbody3D; })); //施加作用力或冲量 btn_a.on(Event.CLICK,this, function():void{ _rb.applyImpulse(new Vector3(0, 0, -2000)); }) 附件 : --> 3D_DEMO_190402精简.zip 2019-04-17 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20190417