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

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

121. 【简单跑酷--JS版】---Lv.6 终篇 [ 24%]

...Value 来让外部控制 能量条的 进度 我们把能量条都添加到舞台上面吧~~ 打开runGame.js(function () { /** * 游戏入口 */ function RunGame(){ this.bg = null; this.mapFloor = null; this.player = null; this.flyEnergy = null; this.speedEnergy = null; RunGame.__super.call(this); ...

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

122. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 24%]

... socket: Laya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注册事件监听 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.socket.on(La...

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

123. laya.ui.CheckBox [ 23%]

...皮肤地址,以字符串表示。 Button stage : Stage[read-only] 对舞台 stage 的引用。Sprite stateNum : int 指定对象的状态值,以数字表示。 默认值为3。此值决定皮肤资源图片的切割方式。 取值: 1:单态。图片不做切割,按钮的皮肤状态只...

来源: laya_api 发布时间: 20170929

124. laya.ui.Radio [ 22%]

...皮肤地址,以字符串表示。 Button stage : Stage[read-only] 对舞台 stage 的引用。Sprite stateNum : int 指定对象的状态值,以数字表示。 默认值为3。此值决定皮肤资源图片的切割方式。 取值: 1:单态。图片不做切割,按钮的皮肤状态只...

来源: laya_api 发布时间: 20170929

125. laya.ui.Dialog_API3.0 [ 17%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

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

126. laya.ui.VBox_API3.0 [ 13%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

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

127. laya.ui.HBox_API3.0 [ 13%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

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