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

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

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

...添加道具 还记得前面我们讲Floor是怎么生成的吗? 每次移除屏幕外面我们都会创建一个新的Floor对象 如果游戏玩久了 可能就会很卡 造成对象太多  其实我想一想 跑出屏幕外面的地板是不是可以重复利用?  答案是肯定可以得~~...

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

342. laya.ui.Radio_API3.0 [ 33%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Implementation of ISelect.offAllCaller Inherited from EventDispatcher.of...

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

343. laya.ui.TextInput_API3.0 [ 30%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

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

344. laya.ui.Button_API3.0 [ 29%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller

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

345. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 29%]

...h) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.event(Floor.OUT_DIE, this); } } /** * 检测碰撞 * x 坐标 * y 坐标 */ _proto.checkHit = function(x,y){ if(x > this.x && x <...

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