大约有 258 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0039 秒)
... 分享 微博 QZONE 微信 liwen1590 赞同来自: error: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory <--- Last few GCs ---> [3456:03E0EAB0] 692136 ms: Mark-sweep 1079.4 (1184.3) -> 1079.0 (1184.3) MB, 1093.1 / 0.0 ms allocation failure GC...
来源: Laya_社区 发布时间: 20211102
...dth:number, height:number):string { return this._bridge.call("createQrCode", url, width, height); } // 以下android代码 // JSBridge.javapublic static String createQrCode(final String content, final double width, final double height) { Bitmap bitmap = createQRCo...
来源: Laya_社区 发布时间: 20200729
...bridge = Laya.PlatformClass.createClass("demo.JSBridge"); bridge.call("copyToClip","测试复制到粘贴板"); Monica • 2017-06-09 10:25 只是Native下不支持,你用第三方工具打包就好了
来源: Laya_社区 发布时间: 20170531
...的赞哦Thanks♪(・ω・)ノ 2017-11-09 0 1 分享 微博 QZONE 微信 call1991 赞同来自: 请问不这个适配是怎么做的呢? 2017-11-16 0 1 分享 微博 QZONE 微信 y1234 赞同来自: 请问TS做的游戏,怎么用在放到微信公众号里面打开 2017-12-22 0 5 分享 微博 ...
来源: Laya_社区 发布时间: 20170816
..., this, function (e) { list.addItem(1); }); function Item() { Item.__super.call(this); this.size(416, 270); this.text = new Text(); this.text.fontSize = 20; this.text.pos(12, 5); this.text.color = "#FF00FF"; this.text.zOrder = 1; this.addChild(this.text); this.setImg = function(data) { var aar=[[150...
来源: Laya_社区 发布时间: 20170920
...laya.ui.TextInput; var WID = 373, HEI = 30; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); this.img.graphics.drawRect(0, 0, WID, HEI - 2, "#eeeeee"); this.label = new Label(); this.addChild(this.label); this.input = new TextInput(); t...
来源: Laya_社区 发布时间: 20180312
...>after 2018-11-23 17:28:52.538 10354-10354/com.xzgame.rainbow E/libEGL: call to OpenGL ES API with no current context (logged once per thread) 2018-11-23 17:28:54.693 631-663/? E/libnav: CablComputeBacklightLevel(): UpdateType = DifferentSceneUpdate 2018-11-23 17:29:09.688 735-735/? E/cnss-daemon...
来源: Laya_社区 发布时间: 20181123
...tion (_super) { function Test01() { Test01.__super.call(this);// 调试用,看看过了多少帧,才就绪 this.numPreloadCalls = 0; // 执行预加载 this.preload(this.onPreloaded.bind(this)); } Laya.class(Test01, 'vie...
来源: Laya_社区 发布时间: 20180622
... } (function() { function Lload() { Lload.__super.call(this); this.dh(); this.btn.on(Event.MOUSE_DOWN,game,this.toquanjing); Laya.propertyIsEnumerable = true; } Laya.class(Lload,"Lload",ui.loadUI); Lload.prototype.dh = fun...
来源: Laya_社区 发布时间: 20160815
...改下CustomMaterial.js function CustomMaterial() { CustomMaterial.__super.call(this); this.setShaderName("CustomShader"); } Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial); CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.prototype.getDiffuseTexture = function () { return this._get...
来源: Laya_社区 发布时间: 20170524