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

大约有 263 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0051 秒)

191. [LayaAir3]LayaAir 3.3.4和LayaAir 3.3.5的iOS输入框点击没反应,无法调起键盘输入 [ 47%]

...ow]: unrecognized selector sent to instance 0x108a903f0'  *** First throw call stack:  (0x18a6db994 0x1875f5814 0x18a774900 0x191398f60 0x18a65b1a4 0x18a663200 0x104e8d33c 0x104e8c708 0x104e8a2b4 0x104e81888 0x187cc81d0 0x18a67ef24 0x18a67ee98 0x18a65cacc 0x18a6336d8 0x18a632a6c 0x22afad498 0x18ff...

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

192. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 47%]

...                  }                     return  getext.call(this,vale)                 }             GameConfig.startScene && Laya.Scene.open(GameConfig.startScene);         }));   例子就是 官方的demo 只是修改了入口 其他没有变 fixImg3...

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

193. config.jsh中无法使用confirm [ 47%]

...vity"); // 这个名字要与下面声明的Java的类名匹配. Test.call("showError"); } /////////////////////////////////////java////////////////////////////////////// public static void showError(){ Log.e("showerror","show"); new AlertDialog.Builder(MainActivit...

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

194. 新手请问下如何开启Laya3D的physics [ 47%]

...ags(flags); this._nativeColliderObject=btColObj; _super.prototype._onAdded.call(this); }报错的意思是 physics3D是undefine,是需要在哪儿初始化一下物理吗 2019-03-21 0 0 分享 微博 QZONE 微信 happyfire 赞同来自: 自己研究中,好像是物理没有开启导致的, co...

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

195. 救命啊,遇到苹果爸爸 Guideline 2.5.2 [ 47%]

...tions(), and running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) attack, which can pose a serious security vulner...

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

196. laya接入fairyGUI的时候资源加载方式? [ 47%]

...r (var i = 0; i < loadData.length; i++) { if (Object.prototype.toString.call(loadData[i]) === "[object Object]") { loadData[i].priority = this.priority; } } Laya.loader.load(loadData, Laya.Handler.create(this, this.onComplete, [resKey, otherLoadData, complete, progress, loadData]), progress); } p...

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

197. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 47%]

... Laya.Image;   var WID = 373, HEI = 85;   function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img);   this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box);   // 主要逻辑代码 var Stage   = Laya.Stage; v...

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

198. 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 [ 46%]

...<script type="text/javascript"> function convertCanvasToImage(canvas,callback,thisObj) { var image = new Image(); image.onload = function() { console.log("图片已经加载"); callback(image,thisObj) }; console.log("图片加载中...") image.src = canvas.toDataURL("image/png"); return image;...

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

199. JavaScript heap out of memory,ide编译不了代码 [ 46%]

...出控制台出现以下报错,编译不了代码  出错了:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory  <--- Last few GCs --->  [8912:005A00C8] 319470 ms: Mark-sweep 982.8 (1183.0) -> 971.7 (1172.4) MB, 632.9 / 0.0 ms allocation failure GC in old ...

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

200. List滚动条问题 [ 46%]

...如下: (function (_super){ function MarketItem() { MarketItem.__super.call(this); this.size(312, 462); // {id:1,name:"10金豆-测试",price:0.01,title:"10金豆-测试",desc:"测试",balance:10,gift:0,imgPath:"res\\common\\BalanceSellDlg\\xiaodou.png",hot:1,orderCount:9} // 背景 var bg_image =...

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