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

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

431. laya.ui.Button_API3.0 [ 47%]

...延迟计算数据。 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

432. laya.ui.CheckBox_API3.0 [ 47%]

...延迟计算数据。 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

433. LayaAir 2.0 微信排行榜 离屏画布能直接附加到组件纹理上 [ 47%]

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

434. laya.ui.TextInput_API3.0 [ 46%]

...延迟计算数据。 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

435. laya.ui.TextArea_API3.0 [ 46%]

...延迟计算数据。 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

436. 示例 骨骼动画换装 加上点击事件 [ 44%]

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

437. Laya2.6、2.7等支持async、await编译经验分享 [ 44%]

...一下代码是可以的。希望没漏。下面随便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

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

...e; Config.isPause = false; }[/i]然后我们在碰到特效道具的时候 执行showEffect就可以了 我们刷新页面看看效果哦       是是很炫(哈哈~~~~ 其实好像是很炫)反正效果是出来了 既然有了加速效果我们得控制加速的时间 能一直加...

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

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

...像是一样的。 问题原因: Rigibody的销毁步骤在Collider之前执行了,销毁Collider的时候找需要操作Rigibody。解决方案: 把collider放在rigibody之前。destroyAllComponent会按顺序销毁。   2019-08-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...

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

440. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

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