大约有 1,569 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0050 秒)
Laya_社区(678) Laya3.0_api(636) Laya2.0_api(70) laya_api(47) Laya2.0_文档(47) Laya3.0_文档(36) Laya2.0_示例(29) Laya_示例(26)
.../*laya.events.Event.COMPLETE*/"complete"); return; } console.log(url); if (MiniAdpter.autoCacheFile && MiniFileMgr.getFileInfo(url)) { console.log('from cac...
来源: Laya_社区 发布时间: 20180503
...ild(label); label.text = text; label.color = "white"; label.fontSize = 20; return label; } createInput() { const Input = Laya.Input; let input = new Input(); Laya.stage.addChild(input); input.size(200, 30); input.borderColor = "#FFFF00"; input.bold = true; input.fontSize = 20; input.color = "#FFFFFF...
来源: Laya2.0_示例 发布时间: 20241119
...tic String testString(String value) { Log.d("JSBridge", "java: " + value); return "LayaBox"; } public static double testNumber(double value) { Log.d("JSBridge", "java: " + value); return 512; } public static boolean testBool(boolean value) { Log.d("JSBridge", "java: " + value); return value ? false ...
来源: Laya3.0_文档 发布时间: 20241023
...个 VelocityOverLifetime 实例。 Parameters velocity: GradientVelocity Returns VelocityOverLifetime Properties enable enable: boolean = false Defined in laya/d3/core/particleShuriKen/module/VelocityOverLifetime.ts:12 是否启用 space space: number = 0 Defined in laya/d3/core/particleShuriKen/mod...
来源: Laya3.0_api 发布时间: 20231115
...s._isWxContext = !!window.wx } onShow (callback) { if (!this._isWxContext) return window.wx.onShow(callback) } onHide (callback) { if (!this._isWxContext) return window.wx.onHide(callback) } offShow (callback) { if (!this._isWxContext) return window.wx.offShow(callback) } offHide (callback) { if (!t...
来源: Laya_社区 发布时间: 20181101
... this._style = SpriteStyle.create() } return this._style; } core.js vivo下getJSON报错兼容 static getJSON(key) { if(Storage.support){ var obj = Storage.items.getItem(key); ...
来源: Laya_社区 发布时间: 20191017
...辑bug onMouse(e) { if (this.toggle === false && this._selected) return; if (e.type === Laya.Event.CLICK) { this.toggle && (this.selected = !this._selected); this._clickHandler && this._clickHandler.run(); return; } !this._selected && (this.state = Button.stateMap[e.t...
来源: Laya_社区 发布时间: 20191112
...rray=[20,40,10,4,34,23,65,5,8]; trace(arr.sort(function(a:*, b:*):Number { return a.x > b.x ? 1 : -1}));(反序)Laya.init(550,400); var arr:Array=[20,40,10,4,34,23,65,5,8]; trace(arr.sort(function(a:*, b:*):Number { return a.x > b.x ? -1 : 1}));(从小到大) Laya.init(550,400); var ar...
来源: Laya_社区 发布时间: 20160506
...e Defined in laya/d3/physics/RaycastVehicle.ts:25 Parameters btObj: number Returns RaycastVehicle Properties btVehiclePtr btVehiclePtr: number Defined in laya/d3/physics/RaycastVehicle.ts:22 tuing tuing: btVehicleTuning = new btVehicleTuning() Defined in laya/d3/physics/RaycastVehicle.ts:24 userdata...
来源: Laya3.0_api 发布时间: 20231115
...如下 Ease.linearNone=function(t,b,c,d){ return c *t / d+b; } Ease.linearIn=function(t,b,c,d){ return c *t / d+b; } Ease.linearInOut=function(t,b,c,d){ ...
来源: Laya_社区 发布时间: 20190802