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

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

1. 3D物理系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 100%]

...ider:Laya.SphereColliderShape = new Laya.SphereColliderShape(0.5); //通过按钮this.castAll状态切换是采用检测全部还是检测第一个 if (this.castAll) { //采用球形碰撞器进行形状检测,检测所有碰撞的物体 this.scene.physicsSimulation.shapeCastAll(sphereCollider, this...

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

2. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...eInspectorPanel(): InspectorPanel; } 4.2 示例 例如要动态创建一个按钮,可以用以下代码。 let button = IEditor.GUIUtils.createButton(); //它实现的功能其实和以下代码是相同的,只是更加简洁 //let button = gui.UIPackage.createWidgetSync("~/ui/basics/Button/Butt...

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