大约有 461 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0151 秒)
...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
...添加道具 还记得前面我们讲Floor是怎么生成的吗? 每次移除屏幕外面我们都会创建一个新的Floor对象 如果游戏玩久了 可能就会很卡 造成对象太多 其实我想一想 跑出屏幕外面的地板是不是可以重复利用? 答案是肯定可以得~~...
来源: Laya_社区 发布时间: 20160803
...ya/map/TileAniSprite.ts:34 把当前动画从对应的动画刷新列表中移除 Returns void hitTestPoint hitTestPoint(x: number, y: number): boolean Inherited from Text.hitTestPoint Defined in laya/display/Sprite.ts:1759 检测某个点是否在此对象内。 Parameters x: number 全局x坐标...
来源: Laya3.0_api 发布时间: 20231115
... role.y += role.speed; // 判断飞机是否移动到舞台外部,然后移除回收 if(role.y>1000 || !role.visible || (role.isBullet && role.y < -20)){ // 从舞台移除 role.removeSelf(); // 回收前重置属性信息 role.isBullet = false; role.visible = true; // 回收到对...
来源: Laya_社区 发布时间: 20170525
...GridSprite.ts:70 隐藏当前GridSprite,并把上面绑定的动画全部移除 Returns void hitTestPoint hitTestPoint(x: number, y: number): boolean Inherited from Text.hitTestPoint Defined in laya/display/Sprite.ts:1759 检测某个点是否在此对象内。 Parameters x: number 全局x坐标...
来源: Laya3.0_api 发布时间: 20231115
...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 发布时间: 20231102
...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 发布时间: 20231102
..., response: response }); } } /** 移除*/ public remove(protocol: string): void { var index: number = this.protocols.indexOf(protocol); if (index == -1) return; if (this.socket) this.socket._$...
来源: Laya_社区 发布时间: 20161109
...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
...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