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

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

31. UI界面加载有哪些回调方法可用 [ 63%]

...r.create(this, this.onLoaded)); 类似于this.onLoaded函数,还有哪些生命周期相关的回调呢。 我想在UI完全加载完毕后,完成一些init操作,this.onLoaded方法中无法获取采用相对布局的控件大小信息。 2017-07-20 添加评论 免费帖 --> 分享 微博 QZ...

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

32. [LayaAirIDE3]应该如何定义@property才能像GTextField一样加载字体? [ 61%]

...! 或者在测试某个单独场景的时候,有没有对应的生命周期函数可以使用,加载完对应的资源后,开始执行测试场景! 如果可以在装饰器上直接添加字体这种类型,并在加载完字体后执行对应场景,将是极好的!但是我不知道...

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

33. laya.d3.core.particleshuriken.module.FrameOverTime_API3.0 [ 56%]

...number Defined in laya/d3/core/particleShuriKen/module/FrameOverTime.ts:76 生命周期旋转类型,0常量模式,1曲线模式,2随机双常量模式,3随机双曲线模式。 Returns number Methods clone clone(): any Defined in laya/d3/core/particleShuriKen/module/FrameOverTime.ts:148 克隆...

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

34. laya.d3.core.particleshuriken.module.GradientColor_API3.0 [ 56%]

...number Defined in laya/d3/core/particleShuriKen/module/GradientColor.ts:69 生命周期颜色类型,0为固定颜色模式,1渐变模式,2为随机双固定颜色模式,3随机双渐变模式。 Returns number Methods clone clone(): any Defined in laya/d3/core/particleShuriKen/module/GradientColor.t...

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

35. laya.ui.Component [ 56%]

...essBar, ScrollBar, Slider, TipManager Component 是ui控件类的基类。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值...

来源: laya_api 发布时间: 20170929

36. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 54%]

...性标识参数总结2.9 装饰器属性标识特殊用法3、IDE中执行生命周期方法 @runInEditor4、组件的分组管理 @classInfo()4.1 加入IDE的组件脚本列表分组4.2 属性分组组件装饰器标识的详细说明 Author: Charley、谷主、孟星煜 在 LayaAir 引擎采用的...

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

37. laya.ui.UIComponent [ 52%]

... Slider, TipManager, WXOpenDataViewer Component 是ui控件类的基类。 生命周期:preinitialize > createChildren > initialize > 组件构造函数 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身...

来源: Laya2.0_api 发布时间: 20190513

38. laya.ui.AsynDialog [ 52%]

...ialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打开页面不会再执行,适合写一些只执行...

来源: laya_api 发布时间: 20170929

39. 2.x引擎项目升级说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...比较纯正的组件机制。 在LayaAir3.0中,Component具有完整的生命周期,即onAwake,onStart,onEnable,onUpdate,onLateUpdate,onDisable,onDestroy,不再使用_onEnable,_onDisable等下划线函数。 _onEnable,_onDisable等下换线函数仍然给内部使用 对比Component, Script...

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

40. laya.d3.core.particleshuriken.module.GradientVelocity_API3.0 [ 51%]

...ber Defined in laya/d3/core/particleShuriKen/module/GradientVelocity.ts:96 生命周期速度类型,0常量模式,1曲线模式,2随机双常量模式,3随机双曲线模式。 Returns number Methods clone clone(): any Defined in laya/d3/core/particleShuriKen/module/GradientVelocity.ts:210 ...

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