大约有 5 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0029 秒)
...await IEditorEnv.AssetDependencyTool.queryReference([ "45897bb8-a4bd-4607-a70e-ba1a7546882f" ]); Copyright ©Layabox 2026 all right reserved,powered by LayaAir Engine更新时间: 2025-12-16 18:46:01 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251216
...e; ta.color = "#3d3d3d"; ta.pos(100, 15); ta.size(375, 355); ta.padding = "70,8,8,8"; this.owner.addChild(ta); } } (代码中的图片资源来自“引擎API使用示例”项目,开发者可以自行创建下载) 运行结果: (图2-1) Copyright ©Layabox 2026 all right reserved,powe...
来源: Laya3.0_文档 发布时间: 20251010
...SpotLight(): void { this.spotLight.pos(50, 350); this.spotLight.rotation = 70; this.owner.addChild(this.spotLight); let spotLightComponent = this.spotLight.addComponent(Laya.SpotLight2D); spotLightComponent.color = new Laya.Color(0.937, 1, 0); spotLightComponent.intensity = 1.25; spotLightComponent....
来源: Laya3.0_文档 发布时间: 20251010
...et rg: Laya.RadioGroup = new Laya.RadioGroup(); rg.skin = skin; rg.space = 70; rg.direction = "vertical"; rg.labels = "Item1, Item2, Item3"; rg.labelColors = "#787878,#d3d3d3,#FFFFFF"; rg.labelSize = 20; rg.labelBold = true; rg.selectHandler = new Laya.Handler(this, this.onSelectChange); this.owner....
来源: Laya3.0_文档 发布时间: 20251016
...间 state.clipStart = 40 / 150; //动作播放结束时间 state.clipEnd = 70 / 150; //设置动作 state.clip = animator.getDefaultState().clip; //为动画组件添加一个动作状态 animator.getControllerLayer(0).addState(state); //播放动画 animator.play("run"); //创建BlinnPhong材质 va...
来源: Laya3.0_文档 发布时间: 20230303