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

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

171. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 42%]

...00个雪花,当雪花移动超出边界或缩放小于0时进行了移除舞台,并调用Pool.recover()方法,使指定的对象回收至对象池内。 ##### ```typescript class PoolTest { private createTime: number = 0; constructor() { //初始化引擎 Laya.init(1136, 640, Laya.WebGL); //...

来源: Laya2.0_文档 发布时间: 20210715

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

...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

173. 内存优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 42%]

...00个雪花,当雪花移动超出边界或缩放小于0时进行了移除舞台,并调用Pool.recover()方法,使指定的对象回收至对象池内。 ```javascript package { import laya.display.Sprite; import laya.display.Stage; import laya.ui.Image; import laya.utils.Pool; import laya.webg...

来源: Laya2.0_文档 发布时间: 20210715

174. laya.ui.ComboBox_API3.0 [ 42%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Defined in laya/ui/ComboBox.ts:710 表示按钮的状态值。 see laya.ui.Button#stateNum Returns number Defined in la...

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

175. laya.ui.Box [ 41%]

...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite tag : * ...

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

176. 可能有个昵称叫做“syy”的一只掉进粪坑里的猪会在下面乱叫 [ 41%]

...由于你的网络不稳定,请退出重进 1.7.19.1 beta 背景音乐在舞台失焦和静音状态下可能导致的无法播放的异常问题! WebGL模式下,两个相同颜色图片的边缘有可能会出现黑线 Laya.Timer.clear 的源码可能有个问题。 Byte 类中的报错信息...

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

177. laya.html.dom.HTMLDivElement [ 41%]

...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite  style :...

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

178. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 38%]

...Handler(this, updateItem); //为列表赋值 list.array = data; //加载到舞台 Laya.stage.addChild(list); } /***渲染单元格时的回调方法***/ private function updateItem(cell:Item, index:int):void { //用获得的数据给图片更换皮肤 cell.img.skin=cell.dataSource; } /***选择单...

来源: Laya2.0_文档 发布时间: 20210715

179. laya.ui.Label_API3.0 [ 37%]

... 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

180. laya.ui.Tab [ 37%]

...的间隔(以像素为单位)。 UIGroup stage : Stage[read-only] 对舞台 stage 的引用。Sprite stateNum : int 表示按钮的状态值,以数字表示,默认为3态。 UIGroup staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不...

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