大约有 1,653 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0050 秒)
Laya_社区(1154) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(85) Laya3.0_文档(42) Laya2.0_示例(9) Laya_示例(9)
...leton; text:Laya.Text; test() { var skeleton=new Laya.Skeleton(); skeleton.url="res/spine/alien/alien.sk"; skeleton.pos(300,700); Laya.stage.addChild(skeleton); this.text=new Laya.Text(); Laya.stage.addChild(this.text); this.text.color="#00ff00"; this.text.fontSize=30; Laya.stage.addChild(this.text)...
来源: Laya2.0_文档 发布时间: 20210715
...alloc]initWithView:m_pGLKView EAGLContext:m_pGLContext downloadThreadNum:3 URL: [PXMainViewController getGameUrl]]; 这个初始化报错不能正常初始化 Thread 1: EXC_BREAKPOINT (code=1, subcode=0x1200ad088) 附件 : --> 2019-06-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20190612
...gColor = "#ffcccc"; //加载界面需要的资源文件 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 listP = new ListPageUI(); Laya.stage.addChild(listP); Laya.timer.once(1000,this,onAdd);/...
来源: Laya_社区 发布时间: 20170313
...r进行预加载时,使用这种形式,就避免了运行时报错。 {url:"ui/Clown.sk", type:Loader.BUFFER}, 但,调用play播放指定动画时,还是说_template为null, 除非先等上若干帧再调用,才正常。 问题是,拖到ui设计器里的元素,如何在生成ui时判...
来源: Laya_社区 发布时间: 20180622
...eConfig.alignH; //打开调试面板(通过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
...本管理”) 2. 命令行至发布目录,执行:layadcc ./ -cache -url http://xxx.xxx.com/index.html 生成 “layadccout/cache” 3. 再命令行执行:layadcc ./,生成update目录 4. 使用ide的 app构建生成xcode项目 5. 把第2步生成的layadccout下cache目录拷贝至xcode下...
来源: Laya_社区 发布时间: 20190430
...中的设置入口页面方法改成了mPlugin.game_plugin_set_option("gameUrl", "http://stand.alone.version/index_native.html"); 然后再运行layanative refreshres 这样应该是可以的吧 2018-03-10 0 0 分享 微博 QZONE 微信 qian 赞同来自: 你自己先连接电脑查看一...
来源: Laya_社区 发布时间: 20180310
...eConfig.alignH; //打开调试面板(通过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
..._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_社区 发布时间: 20180820
...t:Text; private function test():void { skeleton = new Skeleton(); skeleton.url = "res/spine/alien/alien.sk"; skeleton.pos(300, 700); Laya.stage.addChild(skeleton); text = new Text(); Laya.stage.addChild(text); text.color = "#00ff00"; text.fontSize = 30; Laya.stage.addChild(text); Laya.stage.on(Event...
来源: Laya2.0_文档 发布时间: 20210715