大约有 28,630 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0295 秒)
Laya_社区(26260) Laya3.0_api(795) Laya2.0_文档(483) Laya2.0_api(366) laya_api(298) Laya_示例(157) Laya3.0_文档(152) Laya2.0_示例(119)
...分离,代码如下: ```typescript //创建场景 var scene:Scene3D = Laya.stage.addChild(new Scene3D()) as Scene3D; //创建相机1 var camera1:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; //设置相机1清除颜色 camera1.clearColor = new Vector4(0.3, 0.3, 0.3, 1.0); camera1.t...
来源: Laya2.0_文档 发布时间: 20210715
...on ): void; restartCurrentScene(): void; } } //多级模块 declare module laya.ani.bone { class EventData { name:string; intValue:number; floatValue:number; stringValue:string; audioValue:string; time:number; constructor(); } } //LayaAir多级模块的写法,在使用引擎进行实际开发过...
来源: Laya2.0_文档 发布时间: 20210715
...? 请问一下怎样动态加载prefab 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined 3D模型无法修改scale? 图片添加点击事件 有的不生效 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 发布到vi...
来源: Laya_社区 发布时间: 20201210
...ternal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (D:\LayaGame\LayaAirIDE2.5.0\resources\app\out\layarepublic\oppo\quickgame-toolkit\lib\commands\cocos_v2.js:85:16) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/...
来源: Laya_社区 发布时间: 20200619
...高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 成都雨墨游戏 求 laya 程序开发人员 问题状态 最新活动: 2019-06-09 17:36 浏览: 863 关注: 1 人
来源: Laya_社区 发布时间: 20190609
...y = speed;//将得到的摇晃速度发送到 _model}}'); } } } 最后layabox会转换成如下 //class controller.Controller_yao1yao var Controller_yao1yao=(function(){ function Controller_yao1yao(model){ /*__JS__ */var _this=this; /*__JS__ */_model=model; /*__JS__ */var SHAKE_THRESHOLD=10...
来源: Laya_社区 发布时间: 20160110
....document.body.appendChild(div); // var canvas:* = Browser.getElementById("layaCanvas") // canvas.appendChild(videoElement) videoElement = Browser.createElement("video"); div.appendChild(videoElement); // Browser.document.body.appendChild(videoElement); videoElement.setAttribute("id", "myvideo"); //...
来源: Laya_社区 发布时间: 20180313
...实现 1、适配库的Worker监听 我们在微信小游戏适配库laya.wxmini.js中增加了MiniWorkerLoader类,继承自Laya.WorkerLoader,并重定向WorkerLoader的enable属性到MiniWorkerLoader类的enable属性中进行微信Worker的初始化,使用wx.createWorker方法创建Worke...
来源: Laya3.0_文档 发布时间: 20251010
...接经常超时最后卡在加载界面 09-23 11:41:15.458 16178-16304/? I/LayaBox: xhr.GET url=http://192.168.0.130/release/index_app.html?app=1 09-23 11:41:15.469 16178-16271/? I/LayaBox: Download [ ]:http://192.168.0.130/release/index_app.html?app=1 09-23 11:41:23.476 16178-16271/? W/LayaBox:...
来源: Laya_社区 发布时间: 20170923
...son 2019-06-18 13:34:09.276568+0800 test1[6479:65523] require(/sdcard/layabox/scripts/index.js) 2019-06-18 13:34:09.277721+0800 test1[6479:65523] found the file in the package:scripts/index.js 2019-06-18 13:34:09.279091+0800 test1[6479:65523] ===============================================...
来源: Laya_社区 发布时间: 20190618