大约有 2 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0023 秒)
...private hr: HttpRequest; private logger: Laya.TextArea; private text: Laya.Label = new Laya.Label(); onAwake(): void { this.initUI(); this.connect(); } /** * 初始化UI */ private initUI(): void { this.showLogger(); this.text.text = "请查看源码和调试信息,了解如何使用"; this.text.c...
来源: Laya3.0_文档 发布时间: 20251010
...并用代码控制弹出。方法为: let menu = IEditor.Menu.create([ { label: "test" , click : function() { console.log("clicked"); } } ]); //当需要弹出时 menu.show(); 菜单也支持级联,并且不限层数。例如: IEditor.Menu.create([ { label: "test" , submenu: [ { label : "a" },...
来源: Laya3.0_文档 发布时间: 20251010