大约有 817 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0055 秒)
Laya_社区(633) Laya3.0_api(83) Laya2.0_文档(65) Laya3.0_文档(21) laya_api(5) Laya2.0_api(5) Laya2.0_示例(4) Laya_示例(1)
...是老的报错 hejianchun • 2018-03-27 12:56 @joshua0526:在加载异步回调中将sceneadd进去,如: let scene = Laya.loader.create("res/UnityRes/Battle1V1.ls", Laya.Handler.create(this, function (): void { Laya.stage.addChild(scene); })); joshua0526 • 2018-03-27 13:32 @hejianc...
来源: Laya_社区 发布时间: 20180323
...ya_Aaron 赞同来自: 可以给动画添加事件脚本,重写脚本的 回调方法,达到目的 2019-04-03 0 0 分享 微博 QZONE 微信 Laya_Xq 赞同来自: //当动画播放到百分之五十到六十之间时进行克隆 if (0.6>(heroAni.getCurrentAnimatorPlayState(0)._normalizedTime-...
来源: Laya_社区 发布时间: 20181025
...aya.timer.once(400,this,function():void{ //回调处理 if(caller == null || caller == undefined){ callback(message); }else{ ...
来源: Laya_社区 发布时间: 20180529
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(node: Node): boolean Inherited from Nod...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(node: Node): boolean Inherited from Nod...
来源: Laya3.0_api 发布时间: 20231115
...明 游戏运行在chrome里面 听不见声音 骨骼动画播放完后的回调时间 关于适配采用showAll后留白部分的颜色问题 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正...
来源: Laya_社区 发布时间: 20200922
...26 赞同来自: 比例在AS类中加载abc.js 步骤1)加载JS 2)加载完回调 3)new需要的类 //加载 Laya.loader.load(getModuleJSPath("abc.js"), Handler.create(this,loadedHandler)); function loadedHandler(data:*):void{ //加载完回调 __JS__('window.eval(data + "//# so...
来源: Laya_社区 发布时间: 20180507
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(node: Node): boolean Inherited from Nod...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void clone clone(): Node Inherited from RenderableSprite3D.clone Defined in laya/d3/core/Sprite3D.ts:300 克隆。 Returns Node 克隆副本。 contains contains(node: Node): boolean Inherited from Nod...
来源: Laya3.0_api 发布时间: 20231115
...h,sp.height); })); Laya.stage.addChild(sp); ``` loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 1. **直接调用size设置:** ```javascript Laya.loader.load("res/apes/monkey2.png",Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.p...
来源: Laya2.0_文档 发布时间: 20210715