大约有 452 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0077 秒)
Laya_社区(211) Laya3.0_api(79) Laya2.0_api(73) laya_api(68) Laya3.0_文档(10) Laya2.0_文档(9) Laya2.0_示例(1) Laya_示例(1)
...延迟计算数据。 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
...gt; { } } Laya_Aaron • 2018-10-10 20:43 要做一个判断,他存在再执行,也就是楼上说的。 扬了二正 • 2018-10-11 15:33 @Laya_Aaron:添加了之后 绘制不出东西 扬了二正 • 2018-10-11 15:49 @淡淡的疯 后来你解决了吗 扬了二正 • 2018-10-11 20:25 wxtool...
来源: Laya_社区 发布时间: 20181001
...延迟计算数据。 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
...Index == 0){ mCurrSkinIndex = 1; }else{ mCurrSkinIndex = 0; } console.log("执行了点击"); mArmature.showSkinByName(mSkinList[mCurrSkinIndex]); } })();你帮我看下吧,怎样点击换装? 2017-08-25 0 2 分享 微博 QZONE 微信 houkaihua888 赞同来自: http://pixijs.github.io/examples/i...
来源: Laya_社区 发布时间: 20170818
...一下代码是可以的。希望没漏。下面随便Main.ts启动时候执行一下this.testAsync()即可看看效果。async testAsync() { await this.testWait10s() } async testWait10s() { return new Promise((resolve,reject)=>{ Laya.timer.once(10000,this,()=>{ console.log("10s后") resolve()...
来源: Laya_社区 发布时间: 20200705
...e; Config.isPause = false; }[/i]然后我们在碰到特效道具的时候 执行showEffect就可以了 我们刷新页面看看效果哦 是不是很炫(哈哈~~~~ 其实好像不是很炫)反正效果是出来了 既然有了加速效果我们得控制加速的时间 不能一直加...
来源: Laya_社区 发布时间: 20160803
...像是一样的。 问题原因: Rigibody的销毁步骤在Collider之前执行了,销毁Collider的时候找需要操作Rigibody。解决方案: 把collider放在rigibody之前。destroyAllComponent会按顺序销毁。 2019-08-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20181213
... public txt: Laya.Text; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.txt.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txt.size(500, 30); //大小 this.tx...
来源: Laya3.0_文档 发布时间: 20251010