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

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

81. 单选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 67%]

... const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Radio }) public radio: Laya.Radio; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.radio.skin = "atlas/co...

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

82. 1.76beta引擎库的BUG:Laya.List动态载入后,滑动时会将list框本身的滑动区域一并向滑动方向移动,会出现点击list中空白区域就无法滑动的情况 [ 66%]

... 2017-06-14 0 2 分享 微博 QZONE 微信 fundge 赞同来自: class List extends ui.UI_ListUI {     test: Array<number> = [];     constructor()     {         super();         this.list.vScrollBarSkin = '';         this.list.itemRender = Item_List;         this.list.rend...

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

83. 垂直滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

... const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({type:Laya.VSlider}) public vslider: Laya.VSlider; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.vslider.pos(300,300...

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

84. 水平滑动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

... const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.HSlider }) public hslider: Laya.HSlider; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.hslider.pos(300,...

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

85. laya.ui.IBox [ 65%]

...ex | Frames No Frames IBox Packagelaya.uiInterfacepublic interface IBox extends IComponentImplementors Box容器接口,实现了编辑器容器类型。Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By comXml : Object XML 数据。 ICompone...

来源: laya_api 发布时间: 20170929

86. laya.display.GraphicAnimation [ 65%]

...lare module laya.editorUI { /** * Graphics解析器 */ class GraphicParser extends laya.display.GraphicAnimation { protected _getTextureByUrl(url: string): string; static parseAnimationData(aniData: any): any; } } 2020-07-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

87. Sprite鼠标事件不响应 [ 65%]

Sprite鼠标事件不响应  public class LandLayer extends Sprite    给LandLayer 添加了鼠标事件 然而并没有响应…… 看图…… 2017-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi1...

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

88. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

... const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): voi...

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

89. laya.filters.IFilterActionGL [ 65%]

...s | Methods Packagelaya.filtersInterfacepublic interface IFilterActionGL extends IFilterActionImplementors ColorFilterActionGL, FilterActionGLPublic Properties PropertyDefined By  typeMix : int[read-only] IFilterActionGLPublic Methods Hide Inherited Public Methods Show Inherited Public Methods...

来源: laya_api 发布时间: 20170929

90. 输入设备-贪吃蛇(重力感应) [ 64%]

...stage.width; food.y = Math.random() * Laya.stage.height; } } class Segment extends Laya.Sprite { constructor(width, height) { super(); this.size(width, height); this.init(); } init() { this.graphics.drawRect(-this.height / 2, -this.height / 2, this.width + this.height, this.height, "#FF7F50"); } // ...

来源: Laya2.0_示例 发布时间: 20251130