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

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

251. 微信开发者工具问题 [ 59%]

...AGame.js:14 Wechat Lib:2.0.8, 2018.5.17 17:08:32 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} VM698:1 gameThirdScriptError Unexpected token in JSON at position 134;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 134     at JSON.p...

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

252. 怎么暂停2d粒子的播放? [ 59%]

... qian 赞同来自: http://layaair.ldc.layabox.com/api/?category=Core&class=laya.particle.Particle2D stop不可以么 2018-03-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 vvv123 相关问题 unity导出粒子文件问题 使用...

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

253. 获取Sprite位置问题 [ 59%]

获取Sprite位置问题 class Plant extends Laya.Sprite { public body :Laya.Animation; constructor(){ super(); this.body = new Laya.Animation(); Laya.Animation.createFrames(["res/war/hero_fly1.png","res/war/hero_fly2.png"],"fly"); this.addChild(this.body); this.body.play(0,true,"fly"); //获取动...

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

254. 新手,图片加载不进去,没有报错。很疑问 [ 59%]

...rite(); this.bg1.loadImage("comp/bg.png"); this.addChild(this.bg1); } Laya.class(BackGround,"BackGround",_super); return BackGround; })(Laya.Sprite)代码我这样写可以正常显示,你试试 2017-02-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...

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

255. [LayaAir3]Laya3.2.7版worker加载图片404 [ 59%]

...自: Laya.URL.__init__函数被修改了。之前版本是这样的。 ​class URL { static __init__() { null == URL.basePath && (URL.basePath = location && null != location.protocol && "" != location.protocol ? URL.getPath(location.protocol + "//" + location.host + location...

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

256. layabox与java交互 [ 59%]

layabox与java交互 // 程序入口 class GameMain{ constructor() { Laya.init(600,400); let hh = new Laya.Text(); hh.text = "laya安卓项目2"; hh.pos(Laya.stage.width / 2 , Laya.stage.height / 2); hh.fontSize = 20; hh.color = "red"; Laya.stage.addChild(hh); } } new GameMain(); var sData={type:"t...

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

257. Unity导出lh文件中包含"LineSprite3D"时,在使用时报错 [ 59%]

...lh文件时报错: laya.d3.js:30421 Uncaught Error: Utils3D:unidentified class type in (.lh) file.     at Function._createSprite3DInstance (laya.d3.js:30421)     at Function._createSprite3DInstance (laya.d3.js:30426)     at Function._createNodeByJson02 (laya.d3.js:30458)     at Function._p...

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

258. 微信排行榜 点击事件 无法监测到 [ 59%]

...交 3 个回复 Laya_Aaron 赞同来自: 叔年心~厌世 搜ui.js 里面class WXOpenDataViewer 有个 get height{}  改成  return super.height   2019-09-23 1 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 需要传个demo看一下,不然不好确认原因   2019-09-23 0 2 分享 ...

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

259. 微信小游戏缓存管理问题求助 [ 58%]

...在MiniAdpter的类声明中只有init方法 declare module laya.wx.mini { class MiniAdpter { /** * 初始化回调 * @param isPosMsg 是否需要在主域中自动将加载的文本数据自动传递到子域,默认 false * @param isSon 是否是子域,默认为false */ static init(isPosMsg?:bo...

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

260. js如何解析xml字符串? [ 58%]

...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 【分享】微信小游戏解析xml适配 IDE中选中字符串大小写转换快捷键 小游戏 解析xml 问题 HttpRequest无法发送除字符串以外的数据 微信小游戏 使用innerHTML时抛异常 ...

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