大约有 392 项符合查询结果, 库内数据总量为 30,936 项。 (搜索耗时: 0.0041 秒)
Laya_社区(315) Laya2.0_文档(31) Laya3.0_api(14) Laya3.0_文档(13) Laya2.0_api(7) Laya2.0_示例(7) laya_api(5)
...1-09 20:50:15.650 ZhuaWawa[2531:1863829] require(/sdcard/layabox/scripts/config.js) 2018-01-09 20:50:15.651 ZhuaWawa[2531:1863829] found the file in the package:scripts/config.js 2018-01-09 20:50:15.657 ZhuaWawa[2531:1863805] Download [ ]:http://h5.catcher.magicbone.co ... .3558 2018-01-09 20:50...
来源: Laya_社区 发布时间: 20180109
....gradle,点击工具栏中的 sync project with gradle files; 5. 修改config.js,在末尾添加代码: =9ptwindow.ConchRenderType = =9pt6=9pt; 6. 修改 =9ptSplashDialog.java:=9ptimport com.example.layaboxsdk_demo.R 修正为 =9ptimport =9ptcom.layabox.game.R; =9pt7. 点击 Make Project ...
来源: Laya_社区 发布时间: 20181008
...确。 2018-07-24 0 0 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...
来源: Laya_社区 发布时间: 20180724
...选静态合批场景的drawCall都没有降低。查源码laya.d3.js 的Config3D.enableStaticBatch 无论true与false 走的都代码流程都一样。 总之都是elements.add(element); 2 我使用staticBatchVolume 勾选Enable Static Instance Batch Render 就会报错! 3 性能问题 2.x性能...
来源: Laya_社区 发布时间: 20231214
...3/sfx_twinkle_edited.mp3", type: Laya.Loader.SOUND } ]; constructor() { // Config.isAlpha = true; //设置画布是否透明,只对2D(WebGL)、3D有效。 Laya.init(1280, 800, Laya.WebGL); // Laya.stage.bgColor = "none"; //背景透明 //画布水平居中对齐 Laya.stage.alignH = Laya.Stage.ALIG...
来源: Laya_社区 发布时间: 20171217
...除矢量绘制的锯齿,但会增加性能消耗 Laya.Config.isAntialias=true; //初始化舞台 Laya.init(500, 300, WebGL); drawSomething(); })(); function drawSomething() { ...
来源: Laya2.0_文档 发布时间: 20210715
...6 浏览: 1153 关注: 2 人 zkang5 • 2017-11-10 18:27 还有个问题,config.js里面有loadingView.setFontColor("#000000");设置字体的颜色,有没有设置字体大小的api zkang5 • 2017-11-10 18:29 比方说,我只构建js文件到app, 这样也可以吗,或者我全...
来源: Laya_社区 发布时间: 20171110
...方法 2018-08-14 0 0 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...
来源: Laya_社区 发布时间: 20170215
...Bitmap对象 */ Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); bitmap.setPixels(pixels, 0, width, 0, 0, width, height); return bitmap; } catch (WriterException e) { e.printStackTrace(); } return null; }/** * bitmap转为base64 * @param bitmap * @return */ public static ...
来源: Laya_社区 发布时间: 20200729
...ing属性会被覆盖 每次重新发布都会覆盖掉game.json和project.config.json 问题状态 最新活动: 2021-07-06 15:50 浏览: 4885 关注: 2 人 cmxStar • 2021-07-06 09:29 哥们 为啥说mid会不变啊? 我从代码上看mid 是会自增的呀,除非是你从对象池里取出...
来源: Laya_社区 发布时间: 20210701