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

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

231. 小游戏真机调试3d资源不显示 [ 75%]

...long time:103 url=LayaScene_Ninja/Conventional/Ninja-cd389f8b07.lh GradientDataNumber warning:the forth key is be force set to 1. GradientDataNumber warning:data count must lessEqual than 4 GradientDataColor warning:the forth key is be force set to 1. Gradient:warning:data count must lessEqual than ...

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

232. QQ玩一玩Image无法显示Base64图片 Retry to load: data:image/png;base64, [ 75%]

QQ玩一玩Image无法显示Base64图片 Retry to load: data:image/png;base64, Retry to load: data:image/png;base64,xxxxxxxxxxxxxxxxxxx     const PNG_LOADING = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAH...

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

233. 使用UI组件tree时,添加的数据结构必须是xml吗?添加xml时对于tree的单元格里面的label如何控制例如visible的属性 [ 75%]

...的链接 提交 2 个回复 shiyang12345 赞同来自: var xmlString="<data>"+ "<dir name='shi' num='10000' state='已集结' time_pro='' isOpen='true'>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isO...

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

234. list中加的button不能接收点击事件 求一个list中加button的demo [ 75%]

...: updateItem(items):void{         var posY = 0;         var data: Array<any> = [];         for(var i= 0 ;i< items.UserWareList.length;i++){             var itemList = new BagItem(items.icon,items.name,items.count);             itemList.pos(70,posY)...

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

235. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 75%]

...     debug_txt.text = "";             debug_txt.text = String(evt.data.desc);             debug_txt.parent.setChildIndex(debug_txt,debug_txt.parent.numChildren - 1);         }           private function launchGame(params:Object):void         {             CONFIG::deb...

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

236. [LayaAirIDE3]xcode切入切出声音不播放 [ 75%]

...时读取缓存     public initFromStorage(): void {         const data = Laya.LocalStorage.getJSON(SoundManager.STORAGE_KEY);         if (data) {             //Laya.SoundManager.musicVolume = data.bgmVolume / 100;             Laya.SoundManager.setMusicVolume(data.bgmVolume / 1...

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

237. laya.d3.physics.PhysicsCollider [ 75%]

...  _onTransformChanged(flag:int):void[override] PhysicsCollider  _parse(data:Object):void[override] PhysicsCollider  _removeFromSimulation():void[override] PhysicsCollider destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则...

来源: Laya2.0_api 发布时间: 20190513

238. laya.d3.graphics.VertexBuffer3D_API3.0 [ 75%]

...fferUsage canRead instanceBuffer vertexDeclaration Methods destroy getUint8Data orphanStorage setData unbind Constructors constructor new VertexBuffer3D(byteLength: number, bufferUsage: BufferUsage, canRead?: boolean): VertexBuffer3D Overrides VertexBuffer.constructor Defined in laya/d3/graphics/Ver...

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

239. dialog 里的数据已经获取到了,也赋值了但是页面没跟新,addChild好像无效果 [ 75%]

...了,也赋值了但是页面没跟新,addChild好像无效果 var fooddata = []; for (var X = 0; X < res.data.length; X++) { var foodid = res.data[X]['n_food_id']; var foodtxt = res.data[X]['n_number']; fooddata[X] = { food: { skin: 'comp/food' + foodid + '.png' }, food_txt: { text: foodtxt }...

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

240. layaAir分包问题 [ 75%]

...请参考: 1./*[COMPILER OPTIONS:ForcedCompile]*/2. __JS__("window.eval(data)")     2016-10-20 1 7 分享 微博 QZONE 微信 Moeb 赞同来自: ts是不是就没有这种分包? 2017-11-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...

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