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

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

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

...= Laya.Label; var Utils = Laya.Utils; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name"...

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

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

....width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; Laya.stage.addChild(tree); } } } import Box = Laya.Box; import Clip = Laya.Clip; // 此类对应的json对象: // {"child": [{"type": "Clip", "props": {"x": "13", "y": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/c...

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

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

...y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构中的单元格Item类 // {"child": [{"type": "Clip", "pro...

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

4. VSCode高效开发工作流配置指南(TypeScript-IDE篇(TS)-代码模式基础) [ 62%]

... ```json const {watch ,task } = require("gulp"); const {exec} = require("child_process"); function compile(cb) { //执行编译命令 layaair2-cmd compile let process = exec("layaair2-cmd compile"); process.stdout.on("data",(data)=>{ console.log(data); }); process.stderr.on("data",(data)=>{ console....

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