大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
... console.log("预加载字体结束>>>>", obj) if (config.H_SCREEN) { this.loadTopBarUI() } else { this.loadHomeUI() } }), Laya.Handler.create(this, (resProg: number) => { // 第三个参数:进度回调 console...
来源: Laya_社区 发布时间: 20250616
...解决的 2021-01-21 0 0 分享 微博 QZONE 微信 唐波 赞同来自: if (!Laya.ClassUtils.getClass('Laya.Text')) { Laya.ClassUtils.regClass('Laya.Text', Laya.Text); } 2021-04-22 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Fico 相...
来源: Laya_社区 发布时间: 20201125
...value; target = parseInt(360 * value - 90); this.vmask.graphics.clear(); if(target == -90){ //this.vmask.graphics.drawPie(0, 0, 20, -90, -90, "#000000"); this.vmask.graphics.drawPie(0, 0, 20, -90, -89, "#000000"); }else{ this.vmask.graphics.drawPie(0, 0, 20, -90, 0, "#000000"); } } 上面这...
来源: Laya_社区 发布时间: 20180725
...n, info: Laya.RotationInfo):void { if (info.alpha === null) { console.log("当前设备不支持陀螺仪。"); //去掉陀螺仪的移动 L...
来源: Laya_社区 发布时间: 20170925
... } private _play() { if (this._curAction >= this._hero.getAnimNum()) { this._curAction = 0; } this._hero.play(this._curAction, false); ...
来源: Laya_社区 发布时间: 20160822
...index.js 里面有处理加载js失败的代码 t.onerror = function () { if (window["onLayaInitError"]) { window["onLayaInitError"]("Load script error"); } };自己重载 onLayaInitError函数进行提示吧 2018-06-13 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 你是用layaplayer调...
来源: Laya_社区 发布时间: 20180613
...;]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if (r != null) { return (r[2]); } else { return null; } } 2018-06-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 185*****207 相关问题 请问有没有方法...
来源: Laya_社区 发布时间: 20180516
... __proto._setClipChanged=function(){ if (!this._clipChanged){ this._clipChanged=true; this.callLater(this.changeClip); } } 2018-10-27 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20181027
... var touches: Array<any> = e.touches; if (touches && touches.length == 2) { this.preRadian = Math.atan2( touches[0].stageY - touches[1].stageY, touches[0].stageX - touches[...
来源: Laya_社区 发布时间: 20180301
...bug class FrameAnimation extends AnimationBase { constructor() { super(); if (FrameAnimation._sortIndexFun === null) { FrameAnimation._sortIndexFun = MathUtil.sortByKey("index", false, true); } } FrameAnimation初始化时_sortIndexFun 方法没有被赋值 导致_calculateKeyFrames中 tKeyFra...
来源: Laya_社区 发布时间: 20191115