• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 70 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0026 秒)

21. 使用js压缩工具报错 [ 73%]

...; var a=ins[name]=ins[name] || {self:name}; if(_super) { var supers=_super.split(','); a.extend=[]; for(var i=0;i<supers.length;i++){ var nm=supers[i]; ins[nm]=ins[nm] || {self:nm}; a.extend.push(ins[nm]); } } var o=window,words=name.split('.'); for(var i=0;i<words.length-1;i++) o=o[words[i]];...

来源: Laya_社区 发布时间: 20180806

22. 最新版本 1.7.5 beta fontClip [ 73%]

...           this.graphics.clear();                 var splitArr:Array = value.toString().split('');                 for (var i:int = 0; i < splitArr.length; i++) {                     var te:Texture = _sources[splitArr[i]] as Texture;          ...

来源: Laya_社区 发布时间: 20170601

23. 微信小游戏wxmin图片加载有点问题 [ 71%]

...r.copyFile=function(tempFilePath,readyUrl,callBack){ var temp=tempFilePath.split("/"); var tempFileName=temp[temp.length-1]; var fileurlkey=readyUrl.split("?")[0]; var fileObj=null var fileObj=MiniFileMgr.getFileInfo(readyUrl); // 这行会导致图片经常加载不出来,如果赋值为null就...

来源: Laya_社区 发布时间: 20180104

24. MovieClip 的 bug [ 70%]

...----------- this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initData(data);添加了这个保护后,代码不会报错,但是你的帧循环使用创建MC不会显示,不显示的原因就是上面说的,下一个MC实例的load把上一次资源...

来源: Laya_社区 发布时间: 20180910

25. tiledmap Bug [ 69%]

tiledmap Bug TypeError: Cannot read property 'split' of undefined preload.js:55 at TiledMap.__proto.mergePath (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.tiledmap.js:411:31)   at TiledMap.__proto.onJsonComplete (file:///D:/layadata/laya2.0/Sokoban_Ts_Weixin/bin/libs/laya.tiledmap....

来源: Laya_社区 发布时间: 20190304

26. tiledMap 官方示例都运行不了 [ 69%]

...a.stage.height), null);   调用后报错TypeError: Cannot read property 'split' of undefined     at TiledMap.__proto.mergePath (file:///C:/Users/Administrator/Documents/myLaya/Hello/bin/libs/laya.tiledmap.js:257:31)     at TiledMap.__proto.onJsonComplete (file:///C:/Users/Administrator/Documen...

来源: Laya_社区 发布时间: 20181026

27. 字幕淡入淡出效果怎么实现 [ 66%]

... 1 个回复 anghuo 赞同来自: 给你一个思路吧,把字符串用split 撕裂,然后 tween 或者timeLine 每个字符的 alpha属性呀!最后可以整体重画一次,把单个字符都删掉! 2018-06-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回...

来源: Laya_社区 发布时间: 20180613

28. Unity动画使用报错,有遇到的吗 - - [ 65%]

...用报错,有遇到的吗 - - Uncaught TypeError: Cannot read property 'split' of undefined 2018-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同来自: https://blog.csdn.net/tfstone/article/detai...

来源: Laya_社区 发布时间: 20180817

29. 如何根据一个类的对象获取类名 [ 64%]

...Class获取类名(String)的  var arr:Array = class.prototype.__className.split("."); arr[arr.length-1]就是String类型的类名 2017-08-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 132*****180 相关问题 两个对象new了一...

来源: Laya_社区 发布时间: 20170815

30. laya.d3.core.scene.bvh.BVHSpatialBox_API3.0 [ 64%]

...tNearlist getchild0 getchild1 isContentBox isRoot recaculateBox removeCell splitBox traverseBoundsCell sciContainsBox sciIntersectsBox Constructors constructor new BVHSpatialBox(bvhmanager: BVHSpatialManager, config: BVHSpatialConfig): BVHSpatialBox Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts...

来源: Laya3.0_api 发布时间: 20231115