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

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

41. LayaAir的组件化开发(TypeScript-IDE篇(TS)-组件化开发相关) [ 62%]

...帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 | | onLateUpdate | 每帧更新之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 | | onDisable | 组件被禁用时执行,比如从节点从舞台移除后 | | onDestroy | ...

来源: Laya2.0_文档 发布时间: 20210715

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

...改组件属性,场景里的对象会自动同步,无需手动 node.getComponent("MeshRenderer").props.enabled = false; 2、调用节点/组件的一个方法,并返回值。例如: //下面是UI进程代码 //获取选中的节点 let node = Editor.scene.getSelection()[0]; //调用MyScript...

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

43. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 56%]

...n this; }; //可以用style样式来控制各种控件的字体设置 Laya.Component.prototype["textFormatObj"] = null;//给Component基类定义一个textFormatObj属性 //Label字体样式处理 Laya["getset"](false, Laya.Label.prototype, "fontStyle", function () { return this["textFormatObj"]; },...

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

44. laya.html.dom.HTMLIframeElement_API3.0 [ 51%]

...e drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea href innerHTML...

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

45. laya.html.dom.HTMLDivElement_API3.0 [ 51%]

...e drawtocanvCtx Accessors active activeInHierarchy alpha blendMode cacheAs components contextHeight contextWidth customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea innerHTML is3D...

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

46. laya.ui.HSlider_API3.0 [ 51%]

...ickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask m...

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

47. laya.ui.VSlider_API3.0 [ 51%]

...ickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask m...

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

48. laya.physics.PhysicsDebugDraw_API3.0 [ 51%]

...sWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numC...

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

49. laya.map.TileAniSprite_API3.0 [ 50%]

...sWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numC...

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

50. laya.ui.Tree_API3.0 [ 50%]

...pha anchorX anchorY array bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D itemRender ...

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