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

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

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

...") export class MyPanel extends IEditor.EditorPanel { private _data : any; declare _panel : IEditor.InspectorPanel; async create() { this._panel = IEditor.GUIUtils.createInspectorPanel(); Editor.typeRegistry.addTypes([ { name : "MyPanelType", //请注意,名字是全局唯一的,一定要长 pro...

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

72. [LayaAirIDE3]xcode切入切出声音不播放 [ 22%]

..."src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void; enum SoundType {     BGM,     Effect,     Dialogue, } export class SoundManager {     private static instance: SoundManager;     private curBGMUrl: string;...

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

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

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

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

74. laya.display.Text_API3.0 [ 7%]

...yout _onPostLayout: () => void Defined in laya/display/Text.ts:203 Type declaration (): void Returns void _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Defined in laya/display/Text.ts:...

来源: Laya3.0_api 发布时间: 20231115

75. laya.display.Input_API3.0 [ 7%]

...Inherited from Text._onPostLayout Defined in laya/display/Text.ts:203 Type declaration (): void Returns void _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Inherited from Text._parseEscape...

来源: Laya3.0_api 发布时间: 20231115