大约有 312 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0049 秒)
...代码片段,感觉是编译器的问题。。麻烦解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file, STLConstant.scale); } package starling.utils { // TODO: add number formatting options /** Formats a String...
来源: Laya_社区 发布时间: 20170525
...ollisionObject' of undefined 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() 启动引擎报错 mPlugin.game_plugin_init(3); 用了ByteArray的zlib.min.js后报错 IDE通过.ui自动生成...
来源: Laya_社区 发布时间: 20181120
... 分享 微博 QZONE 微信 cuixueying 赞同来自: document.ontouchstart=function() { return false; } 加上上面的代码就好了! 2017-01-12 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 laya针对页...
来源: Laya_社区 发布时间: 20170111
...摇报错,就解决方案 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-01-17 20:13 浏览: 2713 关注: 2 人 sheen • 2018-01-17 20:25 我已经改好了。。忘记之前删了一个模版。。
来源: Laya_社区 发布时间: 20180117
...中文的json文件 报错 导微信小程序报错window.focus is not a function Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 2.2.0beta4,微信上动态合批报错. 3d 添加灯光 模型变的黑呼呼的 很多黑面 开启CastShadow以后,模型会莫名其妙消...
来源: Laya_社区 发布时间: 20170608
...c79} span.s5 {color: #ab1500} span.Apple-tab-span {white-space:pre} public function Code() { //初始化微信小游戏 MiniAdpter.init(true, true); Laya.init(1136, 640); MiniAdpter.window.wx.onMessage(onGetMes...
来源: Laya_社区 发布时间: 20180525
...) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) 有没有谁遇到过这个问题?有没有谁解决了这个问题?万望解答 2018-05-14 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20180514
...axUI.ts有前缀导致报错 导微信小程序报错window.focus is not a function 本地调试加载本地图片都报错 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 启动引擎报错 mPlugin.game_plugin_init(3); 真机调试报错:LayaPlayer不支持的标签<...
来源: Laya_社区 发布时间: 20200203
...吗? 上下文: /** * @private * 分析文本换行。 */ protected function parseLines(text:String):void { //自动换行和HIDDEN都需要计算换行位置或截断位置 var needWordWrapOrTruncate:Boolean = wordWrap || this.overflow == HIDDEN; if (needWordWrapOrTruncate) { var wordWrapWidt...
来源: Laya_社区 发布时间: 20190213
...ler.create(this, onLoaded), Handler.create(this, onLoading, null, false)); function onLoaded(){ console.log(Laya.loader.getRes(src)); } 在chrome,安卓下都是正常的,在ios和mac Safari下是undefined 放在一个sprite的click事件里 同样也是undefined 2017-08-11 添加评论 ...
来源: Laya_社区 发布时间: 20170811