大约有 1,653 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1154) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(85) Laya3.0_文档(42) Laya2.0_示例(9) Laya_示例(9)
.../程序入口 Laya.init(400, 400, Laya.WebGL); let res:any = []; res.push({url:"res/atlas/comp.atlas", type:Loader.ATLAS}); Laya.loader.load(res, Handler.create(null, this.__onLoaded)); } private __onLoaded(): void { Laya.stage.addChild(new Test()); } } new Entry(); Test.ts import Sprite = Laya.S...
来源: Laya_社区 发布时间: 20180308
...排行榜有些问题想请教您。 MiniFileMgr.ziyuFileData[message.url] = message.data;//文本数据 这行代码一定要有,虽然我不知道这个是干什么的,但是把图集的数据加载到这个变量里之后,再load图集就不会报错了,官方人员可能不知道我...
来源: Laya_社区 发布时间: 20180828
..._android_current_bin/ff551fdd loader callback cost a long time:183 url=res/3d/monster/Assets/ResourcesData/monster/mon_neilongga/mon_neilongga-walk.lani 08-20 16:53:50.990 309-2557/? E/Fence: Throttling EGL Production: fence 119 didn't signal in 3000 ms 08-20 16:53:51.010 391-391/? E/raw_hw_...
来源: Laya_社区 发布时间: 20181213
...fig.screenMode; //打开调试面板(通过IDE设置调试模式,或者url地址增加debug=true参数,均可打开调试面板) if (GameConfig.debug || Laya.Utils.getQueryString("debug") == "true") Laya.enableDebugPanel(); if (GameConfig.stat) Laya.Stat.show(); Laya.alertGlobalError = true;...
来源: Laya2.0_文档 发布时间: 20210715
...,如图6所示。  (图6) 当我们能看到`Debugger URL opened in Chrome.`这个提示的时候,说明chrome已被成功调起,并与真机中的画面保持一致。如图7所示。真机中的各种操作,会完全同步到PC这个chrome里,我们就按chrome的调试...
来源: Laya2.0_文档 发布时间: 20210714
...ame(): void { var resArray = [ { url: "res/atlas/lobby/create_room.atlas", type: Laya.Loader.ATLAS }, ....... ]; let createGameScene = () => { ...
来源: Laya_社区 发布时间: 20181208
...体代码如下所示: var soundC:SoundChannel = SoundManager.playSound("url"); //播放 soundC.play(); //停止 soundC.stop(); //暂停 soundC.pause(); 2018-03-13 0 1 分享 微博 QZONE 微信 qian 赞同来自: 3D插件常见报错 one 这个是因为原动画是刚体动画 把unity里...
来源: Laya_社区 发布时间: 20180308
...CTFIT; Laya.stage.scaleMode = Stage.SCALE_FIXED_WIDTH; Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); console.log("myref-onloaded...
来源: Laya_社区 发布时间: 20170720
...var funString = '_xxxx_fun(){ console.log("';//添加的方法体 var root_Url = "D:/code/project/src";//项目diam路径 fileDisplay(path.resolve(root_Url)); /** * 文件遍历方法 * @param filePath 需要遍历的文件路径 */ function fileDisplay(filePath){ //根据文件路径读取文件,...
来源: Laya_社区 发布时间: 20190613
...08.927 8591-8591/? E/LayaGameEngine﹕ game_plugin_set_option key=gameUrl value=http://192.168.167.103:8901/bin/h5/index.html 04-11 11:17:08.927 8591-8591/? I/layaConch3﹕ m_interceptKey OK! 04-11 11:17:08.928 8591-8591/? E/LayaConch5﹕ >>>>>>>conchjar android-2...
来源: Laya_社区 发布时间: 20170411