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

大约有 6 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0033 秒)

1. 混淆 JS 后不支持()=>{}的回调? [ 100%]

...等这些文件统一加载完后回调 怎么停止正在运行Laya.timer.frameLoop的回调函数 如何定义动画播放过某帧后的回调函数 load方法的progress回调进的次数太少了。是我哪里设置有问题么 Tween的to方法完成缓动后的回调怎么写,Tween.to(begin...

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

2. Laya.loader Progress回调形同虚设 [ 94%]

...的回调时间 ios原生回调问题 怎么停止正在运行Laya.timer.frameLoop的回调函数 load 加载完图集 回调函数可以传形参吗? Laya.Handler.create 加载图片回调参数问题 Laya.loader.create 进度回调函数执行两次 本人想做个批量加载json文件,然后...

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

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

...动 不太适合我们调试代码 我们打开Floor.js 找到 Laya.timer.frameLoop(1, this, this.onLoop); 把这一行代码先给注释了 接着 我们先理一理自己的思路 我们要做玩家踩在地板上 那就要用到碰撞检测 上图中紫色的小点点是 两个物体的 坐标起...

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

4. laya.media.SoundNode_API3.0 [ 69%]

...r destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY...

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

5. laya.media.SoundNode [ 69%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: laya_api 发布时间: 20170422

6. 动画状态机详解 · LayaAir3.0文档 · LAYABOX [ 55%]

...this.animator.crossFade("Run", 0.1); //等待动画播放完成 Laya.timer.frameLoop(1,this,()=>{ //如果当前播放state已经播放完了一次 if(this.animator.getControllerLayer(0).getCurrentPlayState().normalizedTime >= 1){ //回到站立状态 this.animator.crossFade("Stand", 0.1); Lay...

来源: Laya3.0_文档 发布时间: 20230804