大约有 484 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0085 秒)
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Implementation of ISel...
来源: Laya3.0_api 发布时间: 20231115
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Implementation of ISel...
来源: Laya3.0_api 发布时间: 20231115
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...emo extends Laya.Script { private 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.onMe...
来源: Laya3.0_文档 发布时间: 20251010
...里写 因为onLoaded方法是所有预加载资源都加载完毕的时候执行的函数//从资源来表中获取加载好的background图片纹理 var texture = Laya.loader.getRes('res/background.png'); //创建一个bg显示对象 var bg = new laya.display.Sprite(); //将上面的texture纹理...
来源: Laya_社区 发布时间: 20160722
...称 */ _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == action)return; this.action = action; this.body.play(0, true, this.action); } _proto.onLoop = function(){ //玩家开始下落 this.y += this.vy; this.vy += this.downSpeed; //控制最大值 if(this.vy...
来源: Laya_社区 发布时间: 20160801
..., 并且对比assetsid不一致, 继续下载filetable.bin 再往下走执行bundle后加载的第一个文件就是 version.json, 此时并未按照dcc更新的规则去下载新的文件, 而是直接从缓存里读取了旧文件 是我姿势不对? 补充一个细节, 5月14日测试的时...
来源: Laya_社区 发布时间: 20190516
... testhandler: b 发现没,a被回收了,生成b后,a再次执行时执行的是b,因为Handler内部是对象池逻辑,回收后会再次使用。 所以在使用Laya.Handler时避免持有引用,引用后也尽量回收后置空处理,如需要使用回调逻辑可以使用...
来源: Laya_社区 发布时间: 20161109
...缓存策略等多个处理环节,这些操作都与底层显卡的指令执行和显存上传参数密切相关。 由于纹理在不同的使用场景中(如 2DUI、模型贴图、光照贴图等)的要求不同,开发者需要根据具体用途合理配置各项参数,以获得理想的...
来源: Laya3.0_文档 发布时间: 20251128