大约有 1,492 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0044 秒)
...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
...监听一个计时器,对Animation的播放帧数进行判断,譬如 if(ani.index==200) { 延迟执行; } 2017-04-05 0 0 分享 微博 QZONE 微信 playa 赞同来自: 请问多个ani播放有例子吗 2017-12-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...
来源: Laya_社区 发布时间: 20170404
...re_ps并没有对alpha进行处理; texture_ps中有以下片段: if(v_useTex<=0.)color = vec4(1.,1.,1.,1.); color.a*=v_color.w; //color.rgb*=v_color.w; color.rgb*=v_color.rgb; gl_FragColor=color; 不知道引擎是否支持dxt5? 附件 : --> 2021-12-20 添加评...
来源: Laya_社区 发布时间: 20211220
...咨询String转XML的相关问题 var xml:*; __JS__('if(window.ActiveXObject)') __JS__('{') __JS__('xml=new ActiveXObject("Microsoft.XMLDOM");') __JS__('xml.loadXML(value);') __JS__('}') ...
来源: Laya_社区 发布时间: 20170221
...ous behavior and can lead to removal from the Apple Developer Program. Specifically, your app contains functionality to load a webview of external content within the app for the purpose of third-party game streaming. If you feel that we have misunderstood how your app functions and that your app is ...
来源: Laya_社区 发布时间: 20190730
...e(this,this.loadConfigCallBack)) } public loadConfigCallBack(str:boolean){ if(str){ var config; config=laya.net.Loader.getRes("res/config/playerCard.json"); PlayerCardManager.instance.initConfig(config); } } 加载到,但是发布为小游戏的话,会报错 2018-01-17 添加评论 免费帖 -->...
来源: Laya_社区 发布时间: 20180117