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

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

221. laya1.8的字体 显示不全 [ 61%]

...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分    var xoff:int = Math.max( orix - pixelBBX[0], 0);    var yoff:int = Math.max( oriy - pixelBBX[1], 0);    var bbxw:int = pixelBBX[2] - pixelBBX[0];    var bbxh:int ...

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

222. 微信开发者工具问题 [ 61%]

...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

223. ios 原生回调问题 能给一下 demo么 [ 61%]

...4:51 这个示例代码 [[conchRuntime GetIOSConchRuntime] callbackToJSWithClass:self.class methodName:@"setLoadUrl" ret:@"test"]; 使用这个 没有接到回调 的test 这个值 为何呢 Monica • 2017-10-20 16:00 不要用示例代码,参考下这个帖子!https://ask.l...

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

224. 新人求助:onStart赋值为什么在onUpdate会输出一次为空 [ 61%]

...onStart赋值为什么在onUpdate会输出一次为空   export default class mtTest extends Laya.Script{          lab:Laya.Label;      onAwake():void{             }     onStart():void{                this.lab=this.owner as Laya.Label;       ...

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

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

... 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

226. 获取Sprite位置问题 [ 61%]

获取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

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

...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

228. layabox与java交互 [ 61%]

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

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

...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

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

...交 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