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

大约有 99 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0076 秒)

61. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 57%]

...export class TextInputControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextInput } ) public txtin: Laya.TextInput; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake():...

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

62. laya.ui.VBox [ 57%]

...ackagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box Component Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

63. laya.ui.VBox [ 57%]

...kagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

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

64. laya.ui.HBox [ 57%]

...ackagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box Component Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 子对象对齐方式。LayoutB...

来源: laya_api 发布时间: 20170929

65. [LayaAirIDE3]3.0.10 父容器做了一次scale缩放操作,子节点的label文字变模糊加粗 [ 57%]

...andler只会执行一次,之后点击不再触发 laya.3.0.9 为什么给Sprite容器添加点击事件没反应 使用getChildByName()无法得到子节点对象 VBOX HBOX 的文档太少了,都不知道这两个怎么用?到底和box有什么区别?不是普通的容器吗?增加了...

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

66. laya.ui.HBox [ 57%]

...kagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

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

67. 父元素,子元素,兄弟元素 [ 56%]

...容相关的链接 提交 2 个回复 佳佳 赞同来自: let parent:Laya.Sprite = child.parent;//父 let len = parent.numChildren; for(var i = 0; i < len; i++){ let value = parent.getChildAt(i); if(value != child) { //兄弟 } else{ //自己 } } 2018-09-01 0 1 分享 微博 QZONE 微信 谢春 ...

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

68. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

精灵(Sprite)一、概述二、IDE中使用2.1 创建精灵2.2 基础属性2.3 Sprite的特有属性2.4 其它属性2.5 脚本控制属性三、代码中使用3.1 创建Sprite3.2 显示图片3.3 基础属性3.4 其它属性精灵(Sprite) 一、概述 游戏中Sprite精灵是在屏幕中能...

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

69. laya.display.Stage_API3.0 [ 55%]

...用帧率甚至动态更改帧率有利于改进手机耗电。 Hierarchy Sprite Stage Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize canvasDegree canvasRotation designHeight designWidth focus hitTestPrior mouseThrough name renderingEnabled screenAdap...

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

70. laya.ui.AsynDialog [ 54%]

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

来源: laya_api 发布时间: 20170929