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

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

3881. LayaAir IDE 2.2.0beta4 动画挂点(骨骼挂点)无效 [ 46%]

...3D.transform.localPosition = new Laya.Vector3(); return true; } else { if (this.link2Node(nodeName, child, Sprite3D)) { return true; } } index++; } return false; }  public static unLink2Node(Sprite3D: Laya.Sprite3D) { Sprite3D.removeSelf(); }   2019-09-19 0 3 分享 微博 QZONE 微信 为什么...

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

3882. Sprite-缓存为静态图像 [ 46%]

....stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } private setup(): void { var textBox: Sprite = new Sprite(); // 随机摆放文本 var text: Text; for (var i: number = 0; i < 1000; i++) { text = new Text(); text.fontSize = 20; text.text = (Math.random() * 10...

来源: Laya_示例 发布时间: 20260303

3883. IOS Native工程,apploader.js报错 [ 46%]

...ring(shader.ps, true); shader.conch_id = shader.id; } _.needsz(68); _.wu32(this.id); _.wu32(25); _.wu32(ib.conch_id); _.wu32(vb.conch_id); _.wu32(1); _.wu32(eleNum); _.wu32(iStart); _.wu32(img.imgId); _.wu32(shader.id); var uv = texture.uv; _.wf32(mat.a); _.wf32(mat.b); _.wf32(mat.c); _.wf32(mat.d);...

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

3884. 物理引擎-Slingshot [ 46%]

...)(); function setup() { initMatter(); initWorld(); Laya.stage.on("resize", this, onResize); } function initMatter() { var gameWorld = new Sprite(); Laya.stage.addChild(gameWorld); // 初始化物理引擎 engine = Matter.Engine.create( { enableSleeping: true }); Matter.Engine.run(engine); var render...

来源: Laya_示例 发布时间: 20260303

3885. 在移动端safari浏览器上运行加载资源时崩溃 [ 46%]

...yfun 赞同来自: 代码压缩后,ui.min.js报错,Uncaught TypeError: this.preinitialize is not a function,官方一直没回复。 2017-08-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 daohu 相关问题 liblayaair.so 总是...

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

3886. laya.utils.Pool [ 46%]

... 用于创建该类型对象的方法。  caller:* (default = null) — this对象 Returns* — 此类型标识的一个对象。 getPoolBySign()method  public static function getPoolBySign(sign:String):Array 根据对象类型标识字符,获取对象池。 Parameters sign:String — 对象类...

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

3887. LayaAir IDE 语言包的使用? [ 46%]

...aya.stage.bgColor = "#eeffcc"; Laya.loader.load("lang.lang",Handler.create(this,onLoaded),null,Loader.JSON); } private function onLoaded():void { var obj:Object=Laya.loader.getRes("lang.lang"); Text.langPacks=obj; var texts:Text=new Text(); texts.text="hello!welcom LayaBox"; Laya.stage.addChild(text...

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

3888. 2.13版本3D场景遮挡UI的BUG [ 46%]

...,不同一点节点下 也是这样 你打开我注释的那行代码, this.Scene3D = Laya.stage.addChildAt(new Laya.Scene3D(), 2) as Laya.Scene3D; 不在一个节点下,也会遮挡 LijiE • 2022-12-01 09:29 3D场景只能放最底下的话,就不能用2D图片做背景了 LijiE • 2022-1...

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

3889. laya 2.0 微信小游戏排行榜提示wx.getFileSystemManager is not a function [ 46%]

...到了2.1.0beta,每个版本的laya.opendata.min.js文件里都用到了this.fs=wx.getFileSystemManager(), 所以就是所有版本都不能正确运行,都会报 wx.getFileSystemManager is not a function; 是不是laya2.0根本用不了子域项目   2019-06-18 0 7 分享 微博 QZONE 微信...

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

3890. TypeError: Laya.MovieClip is not a constructor [ 46%]

...operty '_tf' of null [Error] TypeError: null is not an object (evaluating 'this._style._tf') Uncaught TypeError: Cannot read property 'indexCount' Uncaught TypeError: Cannot read property 'LayaMotionState' of undefined 问题状态 最新活动: 2019-01-14 15:45 浏览: 1726 关注: 4 人

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