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

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

241. 发布原生 ios/android 的渲染问 题 [ 68%]

...出现到 /**     *更新_cnavas相关的状态     */     __proto._checkCanvasEnable=function(){         var tEnable=this._cacheStyle.needEnableCanvasRender();         this._getCacheStyle().enableCanvasRender=tEnable;         if (tEnable){            ...

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

242. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 68%]

...判断type失败:       /**     *@inheritDoc     */   __proto.onAsynLoaded=function(url,data,params){     var json=data[0]     if (json.type!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,...

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

243. ConchInput settype无效 [ 68%]

ConchInput settype无效 __getset(0,__proto,'type',function(){         return this._type;     },function(value){         console.info(value)         if (value=="password")             this._getCSSStyle().password=true;         else         thi...

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

244. TS项目直接运行js代码 [ 67%]

...用 __JS__ 直接执行js代码  例如:var cls:Class = __JS__("this.__proto__.__class"); 想问一下   ts项目是否有类似的api可以调用 2021-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...

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

245. 代码创建精灵监听不到事件? [ 67%]

...0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]);   var _proto = StorageUILayer.prototype;   _proto.onclick = function(params){ console.log("--------------------------------hhhhhhhhhhh- "); }   ---------------------------------------------------------- 麻烦看下,这个为何...

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

246. weakObject的问题 [ 67%]

...ject,会报this._obj.set is not a function。  也就是WeakObject的 __proto.set函数的  this._obj.set(  objKet,  value );     这条语句报错了。。。。 但在new Laya.WeakObject之前,   加上   laya.utils.WeakObject.__init__();          就正常了,, 很想...

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

247. 求HTTP相关的文档或者例子谢谢了 [ 66%]

求HTTP相关的文档或者例子谢谢了 __proto__.wishComp=function(e){}         __proto__.checkList=function(){             this.publicloader=new URLLoader();             this.publicloader.dataFormat=/*iflash.net.URLLoaderDataFormat.VARIABLES*/"variables";        ...

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

248. tween [ 66%]

...数 在调用pause函数后 缓动会继续执行 这是暂停函数: __proto.pause=function(){ Laya.scaleTimer.clear(this,this._beginLoop); Laya.scaleTimer.clear(this,this._doEase); 以下是Tween类里面的 create 函数的代码段 BUG就出在 Laya.scaleTimer.once(delay,this,this.firstStart,[...

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

249. 最新版本绘制100x100个sprite ios不能显示 [ 66%]

...; this.init(); } Laya.class(GameMap, "GameMap", laya.display.Sprite); var _proto = GameMap.prototype; _proto.init = function(){ var boxSp = new laya.display.Sprite(); // boxSp.cacheAsBitmap = true; for(var i = 0; i < this.MapRowNum; i++){ for(var j = 0; j < this.MapColNum; j++){ var box = new ...

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

250. XMLHttpRequest cannot load [ 66%]

...e/bin/h5/res/atlas/comp.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json fir...

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