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

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

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

...regClass() export class Script1 extends Laya.Script { declare owner : Laya.Sprite3D; } //TestCustomEditor.ts @IEditorEnv.customEditor(Script1) export class TestCustomEditor extends IEditorEnv.CustomEditor { declare owner: Laya.Sprite3D; onSceneGUI(): void { IEditorEnv.Handles.drawHemiSphere(this.own...

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

1032. 时间轴动画 · LayaAir3.3 · 引擎文档 · LAYABOX [ 19%]

...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来运行动画,看看运行结果: (图9-4) Co...

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