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

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

1051. UI-RefreshList [ 33%]

...aya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseBox.bgColor = ...

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

1052. 3D物理系统 · LayaAir3.4 · 引擎文档 · LAYABOX [ 31%]

...aya.Mesh.load("res/threeDimen/Physics/table.lm", Laya.Handler.create(this, function(mesh:Laya.Mesh) { //读取桌子模型节点对象,添加到3D场景节点下, var table: Sprite3D = this.scene.addChild(new Laya.Sprite3D(res)); //给桌子节点对象添加刚体碰撞器 var rigidBody = table...

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

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

...{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.log(data); }); ...

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

1054. laya native加载人物模型出错 [ 7%]

...=this; Laya.loader.create("res/3d/baseman01.lh", Laya.Handler.create(this, function(){  var scene3d=new Laya.Scene3D(); that.owner.addChild(scene);  var model=Laya.loader.getRes(window.getPath("res/3d/baseman01.lh")); var player=model.clone(); scene3d.addChild(player);    }));   然后用androi...

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