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

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

221. 预加载结束之后还是报lose skin [ 61%]

...aya.Texture){ console.log("加载结束"); } Log输出内容 Warning!,this class[MiniAdpter] already exist: Object {} 加载进度: 0.3 加载进度: 0.8999999999999999 加载进度: 1 加载结束 lose skin lose skin lose skin lose skin lose skin 2018-03-14 添加评论 免费帖 --> 分享 微博 ...

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

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

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. 微信开发者工具问题 [ 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

225. 新人求助: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

226. 怎么暂停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

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

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

229. layabox与java交互 [ 60%]

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

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

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