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

大约有 161 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0052 秒)

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

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

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

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

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

114. 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_文档 发布时间: 20250214

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

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

117. laya.ui.VBox [ 47%]

...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心...

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

118. laya.ui.HBox [ 47%]

...上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,旋转中心...

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

119. 安装layaair2-cmd一直失败 [ 47%]

...    at EventEmitter.emit (events.js:210:5) 31944 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 31944 verbose stack     at ChildProcess.emit (events.js:210:5) 31944 verbose stack     at maybeClos...

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

120. unity 3d 骨骼动画资源到处 KeyNotFoundException: The given key was not present in the dictionary 问题 [ 44%]

...entsData (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes,...

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