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

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

1. UI-Tree [ 100%]

...ar i = 0; i "; for (var j = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 var xml = Utils.parseXMLFromString(treeData); var tree = new Tree(); tree.scrollBarSkin = "../../res/ui/vscroll.png"; tree.itemRender = Item; tree.xml = xml; tree.size(300, 300); tree.x = (Laya.stage.width...

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

2. UI-Tree [ 100%]

...et i = 0; i "; for (let j = 0; j "; } treeData += ""; } treeData += ""; // 解析tree的数据 let xml = Utils.parseXMLFromString(treeData); let tree = new Tree(); tree.scrollBarSkin = "res/ui/vscroll.png"; tree.itemRender = Item; tree.xml = xml; tree.size(300, 300); tree.x = (Laya.stage.width - tre...

来源: Laya2.0_示例 发布时间: 20240930

3. layaNative测试运行原生app时,laya3D解析动画处报错 [ 95%]

layaNative测试运行原生app时,laya3D解析动画处报错 通过laya提供的原生运行器进行测试时,发现laya3d骨骼动画解析直接报错,错误原因是在laya.d3.js库中的13543 AnimationClipParser04.READ_ANIMATIONS方法下的 var floatArrayKeyframe = new Vector3Keyframe(); ...

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

4. 编译Typescript项目时卡死,通过node断点调试layaair-cmd,已定位是tsSort.js问题 [ 87%]

...= /\bstatic\b\s+\w+:((?:\w+\.?)+)\s*=\s*new\s+/ //.exec(str)[1]及执行到解析正则的时候 81行:var staticClass = staticHelp.exec(filecont[j]);这个时候当filecont[j] 为 static wallet:com.battlecry.idle_m.data_proto.WalletModel;直接卡死。   我直接用node写了个简单代码 t...

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

5. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 72%]

...String = ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""; //解析xml字符。 var xml = domParser.parseFromString(xmlString, "text/xml"); //设置 m_tree 的数据源。 m_tree.xml =xml; ``` #### 7. 在程序中运行查看效果。 ​ ![图片0.gif](gif/1.gif) ​ (图) ...

来源: Laya2.0_文档 发布时间: 20210715

6. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 72%]

...g:string=""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""; //解析xml字符。 var xml:any = domParser.parseFromString(xmlString, "text/xml"); //设置 m_tree 的数据源。 m_tree.xml =xml; ``` #### 7. 在程序中运行查看效果。 ​ ![图片0.gif](gif/1.gif) ​ (图...

来源: Laya2.0_文档 发布时间: 20210714

7. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 71%]

...e = new StyleManager(); } return this._instance; } constructor() { } /** * 解析字体样式 * @param {Object} obj */ parseStyle(obj: Object) { this._styleMap = obj; } /** * 根据key找到字体样式的具体配置 * @param {string} id * @returns {ITextFormat} */ getStyleById(id: string): ITextFo...

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

8. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 61%]

...g:String=""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""; //解析xml字符。 var xml:* = domParser.parseFromString(xmlString, "text/xml"); //设置 m_tree 的数据源。 m_tree.xml =xml; ``` #### 7. 在程序中运行查看效果。 ​ ![图片0.gif](gif/1.gif) ​ (图...

来源: Laya2.0_文档 发布时间: 20210715

9. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 38%]

...lete方法中的处理是 /**          * json文件读取成功后,解析里面的纹理数据,进行加载          * @param    e JSON数据          */         private function onJsonComplete(e:*):void {             _mapSprite = new Sprite();         ...

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