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

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

111. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 53%]

...r.getGameObjectData (UnityEngine.GameObject gameObject, .JSONObject parentsChildNodes, Boolean statisticalCount) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, .JSONObject parentsChildNodes, Boolean statisticalCount) LayaExport.DataManager.getGameObjectData (UnityEngine...

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

112. 分享个用美术资源做位图文本的方法。。。 [ 52%]

...a,600,"right"); bp.padding = bp1.padding = bp2.padding = -7; Laya.stage.addChild(bp); Laya.stage.addChild(bp1); Laya.stage.addChild(bp2); var t = 1000; Laya.timer.loop(1000,that,function(){ bp.text = t + ""; bp1.text = t + ""; bp2.text = t + ""; t++; }) } )); } } new GameMain(); 运行效果基本...

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

113. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 52%]

...n/env node const program = require('commander'); const { fork } = require('child_process'); const path = require('path'); program.parse(process.argv); const projPath = path.join(__dirname, '../'); const layaCompileDir = path.join(projPath, '.laya'); const gulpFilePath = path.join(layaCompileDir, 'co...

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

114. JQ集成到Laya二次封装 [ 52%]

JQ集成到Laya二次封装 aWater = Laya.stage._childs; // //================= demo1 ======================= // JQ(aWater).click(function () { // //我已经打算废弃这样的事件用 on来动态绑定触法 // }) // //================= demo1 ======================= // //================= demo...

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

115. ts项目,我在程序主入口声明了公共静态类,下面new出了一个对象,把他添加到舞台中出错。 [ 52%]

...tic GameStart:GameStart; GameMain.GameStart=new GameStart(); Laya.stage.addChild(GameMain.GameStart); 报错:file: 'file:///e%3A/LAYABOX/CaiCi/src/GameMain.ts' severity: '错误' message: 'Argument of type 'GameStart' is not assignable to parameter of type 'Node'. Property '_childs' is missing in ...

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

116. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 52%]

...he engine will no longer detect this object and will recursively check its child objects until it finds the target object or misses all objects. * When not penetrable, the node's width and height define the mouse collision area (a non-penetrable rectangular area). If the rectangular collision area d...

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

117. layaairts下 如何 让动画显示在地图上面tilemap地图 [ 52%]

....WebGL); } } new GameMain(); 报错信息:             (ele=(childs [i]))._style.visible && ele.render(context,x,y);   2018-02-03 0 0 分享 微博 QZONE 微信 qian 赞同来自: 引擎示例 --2D--区块地图 --带动画的地图 百度地图是这样 但是你这个可能...

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

118. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...; if (comp != null) { lists.push(comp); } for (var i = 0; i < sprite.numChildren; i++) { let child = sprite.getChildAt(i) as Sprite; this.findCompents(lists, child, componentType); } } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake():...

来源: Laya3.0_文档 发布时间: 20251010

119. layaAir如何实现for循环加载多张图片,并且通过事件按比例缩小 [ 50%]

...           apesCtn=new Sprite()             Laya.stage.addChild(apesCtn);             for (var i:int = 0; i < 4; i++ )             {                 Laya.loader.load(picAy[i],Handler.create(this, onAssetLoaded))             }         } ...

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

120. laya.ui.UIComponent [ 48%]

...mponent 是ui控件类的基类。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : ...

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