大约有 3 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0023 秒)
...初始化后执行自定义逻辑(此方法在Laya.init后调用) Laya.addAfterInitCallback(() => { console.log("after init"); }); export async function main() { console.log("Hello LayaAir!"); //加载场景并打开场景 Laya.Scene.open('Scene.ls'); } 如果没有启动脚本,只有启动场...
来源: Laya3.0_文档 发布时间: 20251103
...n可以人为改变这个顺序。可以使用的句型有:"before x"、"after x"、"first"、"last" private private:false 控制组件属性是否显示在IDE里,false:显示,true:不显示 addIndent addIndent:1 增加缩进,单位是层级,注意不是像素 onChange onChange: "onC...
来源: Laya3.0_文档 发布时间: 20251010
...置菜单的位置,支持的语法: "first" / "last" / "before ids" / "after ids" / "beforeGroup ids" / "afterGroup ids"。 "before"和"beforeGroup"的区别是,"before"是插入到参考菜单的前面,而"beforeGroup"是插入到参考菜单前面最近的一个分割线之前。 "after"和"...
来源: Laya3.0_文档 发布时间: 20251010