大约有 1,421 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(873) Laya2.0_文档(129) Laya3.0_api(105) Laya_示例(75) Laya2.0_api(66) Laya3.0_文档(61) laya_api(61) Laya2.0_示例(51)
...eton); this.skeleton.pos(Laya.Browser.width / 2, Laya.Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Laya.Event.STOPPED, this, this.play) this.play(); } private onError(): void{ console.log("parse error"); } private play(): void { console.log("1111111111"); if(++this.inde...
来源: Laya2.0_文档 发布时间: 20210715
... SCREEN_HORIZONTAL: string = "horizontal" Defined in laya/display/Stage.ts:100 自动横屏。 Static SCREEN_NONE SCREEN_NONE: string = "none" Defined in laya/display/Stage.ts:98 不更改屏幕。 Static SCREEN_VERTICAL SCREEN_VERTICAL: string = "vertical" Defined in laya/display/Stage.ts:102 自...
来源: Laya3.0_api 发布时间: 20231115
... public var color1:Color; /** @prop {name:snumber1,type:sNumber,min:10,max:100}*/ public var snumber1:int = 11; /** @prop {name:node1,type:Node}*/ public var node1:Node; /** @prop {name:sizegrid1,type:SizeGrid}*/ public var sizegrid1:*; /** @prop {name:colorarray,type:ColorArray}*/ public var colora...
来源: Laya2.0_文档 发布时间: 20201213
...自: 附加一个文本乱码BUG 附件demo核心逻辑是每5秒生产100个随机0-255的字符赋值给Label,在ios的native环境下运行demo稍等,出现乱码现象。 文本乱码BUG.zip 2024-02-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...
来源: Laya_社区 发布时间: 20240221
... }); } // 配置精灵灯光 setSpriteLight(): void { this.spriteLight.pos(100,350); let spritelightComponent = this.spriteLight.getComponent(Laya.SpriteLight2D); spritelightComponent.color = new Laya.Color(1, 1, 1); spritelightComponent.intensity = 0.5; let tex = Laya.loader.getRes("resources/sprit...
来源: Laya3.0_文档 发布时间: 20251010
...实例。 在 Panel 构造函数中设置属性width、height的值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/displa...
来源: Laya3.0_api 发布时间: 20231115
...t timer(): Timer Inherited from Node.timer Defined in laya/display/Node.ts:1009 获取timer Returns Timer transform get transform(): Matrix set transform(value: Matrix): void Inherited from Text.transform Defined in laya/display/Sprite.ts:873 对象的矩阵信息。通过设置矩阵可以实现节...
来源: Laya3.0_api 发布时间: 20231115
...置数字 vScrollBar.min = 0; //最高滚动位置数字 vScrollBar.max = 100; //滚动变化事件回调 vScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(vScrollBar); //创建提示信息 createPromptText(vScrollBar) } /***创建提示信息***/ private ...
来源: Laya2.0_文档 发布时间: 20210715
...置数字 hScrollBar.min = 0; //最高滚动位置数字 hScrollBar.max = 100; //滚动变化事件回调 hScrollBar.changeHandler = new Handler(this, onChange); //加载到舞台 Laya.stage.addChild(hScrollBar); //创建提示信息 createPromptText(hScrollBar) } /***创建提示信息***/ private ...
来源: Laya2.0_文档 发布时间: 20210714
...t timer(): Timer Inherited from Node.timer Defined in laya/display/Node.ts:1009 获取timer Returns Timer transform get transform(): Matrix set transform(value: Matrix): void Inherited from Text.transform Defined in laya/display/Sprite.ts:873 对象的矩阵信息。通过设置矩阵可以实现节...
来源: Laya3.0_api 发布时间: 20231115