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

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

1851. Unity导出插件Shader报错。 [ 70%]

...alid subscript '_ShadowCoord' 'unitySampleShadow': no matching 1 parameter function at Assets/LayaAir3D/LayaShader/CGIncludes/LayaBlinnPhongFA.cginc(104) (on d3d11) Compiling Vertex program with DIRECTIONAL SHADOWS_SCREEN LIGHTMAP_ON DisableLighting Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS ...

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

1852. eval函数接微信时,报第三方错误,找不到这个函数 [ 70%]

...第三方错误,找不到这个函数 gameThirdScriptError eval is not a function TypeError: eval is not a function 2018-07-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 顺着报错...

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

1853. Laya有没有将base64字符串转Laya.Byte的方法? [ 70%]

...复 Laya_Aaron 赞同来自: Base64Tool 类 看里面方法 public static function encodeByte(byte:ByteEx, start:int = 0, end:int = -1):String         {             if (end < 0)             {                 end = byte.length;            ...

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

1854. 报错:"for each" err,must add{} 怎么解决? [ 70%]

...码中需添加大括号包住for each作用域。 原生例子 :public function ForEachDemo() { var obj:Object = [ { key:1 }, { key:2 } ]; //转成成js时工具会在使用for each的地方添加相应的报错信息: //"for each" err,must add{} for each(var value:Object in obj) trace(value.ke...

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

1855. img点击事件。点击图片外,也触发了事件。请问怎么解决 [ 70%]

...MIDDLE; Laya.loader.load("res/img/m1.jpg",Laya.Handler.create(this,load)); function load(){ let ctn2=new Laya.Sprite(); Laya.stage.addChild(ctn2); var gq=new Laya.Sprite(); gq.loadImage("res/img/m1.jpg",100,100,100,100);   ctn2.addChild(gq); gq.on(Laya.Event.CLICK,this,Is);   }  function Is(){ co...

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

1856. timeline播放完成Bug [ 70%]

...layabox. ... 3B%3B Laya.loader.load(monkey1Path, Laya.Handler.create(this, function() { let monkey = Laya.loader.getRes(monkey1Path); let ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.graphics.drawTexture(monkey, 0, 0); var tl = new Laya.TimeLine(); tl.once('complete', this, function() { ap...

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

1857. clearUnLoaded的bug LayaAirIDE1.7.9 [ 70%]

clearUnLoaded的bug LayaAirIDE1.7.9 function test(){     var arr = [res.popup.atlas("loadingUI"), res.download.bg("bg5")]     Laya.loader.load(arr, Laya.Handler.create(this, onComplete))     Laya.loader.clearUnLoaded()     Laya.loader.load(arr, Laya.Handler.create(this, onComplete))...

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

1858. unity导出粒子特效laya加载报错。 [ 70%]

...1870 Uncaught TypeError: Cannot read property 'path' of undefined     at Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:1870)     at Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:1917)     at Loader.Laya3D._onHierarchylhLoaded (laya.d3.js:1934)     at EventHandler.__...

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

1859. List的selectHandler 点击同一个item只能触发一次回调 [ 70%]

...判断if (this._selectedIndex !=value) __getset(0,__proto,'selectedIndex',function(){ return this._selectedIndex; },function(value){ //if (this._selectedIndex !=value){ this._selectedIndex=value; this.changeSelectStatus(); this.event(/*laya.events.Event.CHANGE*/"change"); this.selectHandle...

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

1860. 求解:能通过改变Sprite的宽高,让Sprite里的Child缩放吗?【附图】 [ 70%]

...   rule_ct = new Sprite(); rule_ct.loadImage("rule_txt.jpg", 0, 0, 0, 0, function(){     rule_ct.width = 1280; });     改变Sprite的宽高, 图片并未变化是怎么回事? 2017-04-07 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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