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

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

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

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

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

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

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

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

117. 安装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

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

119. laya.ui.VBox_API3.0 [ 41%]

...gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _set...

来源: Laya3.0_api 发布时间: 20231115

120. laya.ui.HBox_API3.0 [ 41%]

...gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY space stage staticCache texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive _set...

来源: Laya3.0_api 发布时间: 20231115