大约有 489 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)
Laya_社区(403) Laya2.0_文档(47) Laya3.0_api(22) Laya3.0_文档(8) laya_api(3) Laya2.0_示例(3) Laya2.0_api(3)
...ss EventDispatcherInheritanceEventDispatcher ObjectSubclasses HttpRequest, Loader, LoaderManager, Node, Socket, Sound, SoundChannel, Texture, TimeLine EventDispatcher 类是可调度事件的所有类的基类。 Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发...
来源: Laya2.0_api 发布时间: 20190513
...;, "res/maze/img/demo/toolClock/Conventional/puzzleB.lh" ]; Laya.loader.create(this.resource, Laya.Handler.create(this, this.onLoadFinish)); } private onLoadFinish() { //初始化场景 this.scene = new Laya.Scene3D(); Laya.stage.addChild(this.scene); this.scene.ambientColor = new Laya.Vec...
来源: Laya_社区 发布时间: 20191209
...c目录下。 参考:private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLRequest("datas.swf"),context)...
来源: Laya_社区 发布时间: 20151216
...调函数时报is not a function 怎样跨页面执行脚本命令? Laya.loader.create 进度回调函数执行两次 注册函数里面 事件侦听函数的执行域 的详解 问题状态 最新活动: 2018-04-11 19:17 浏览: 810 关注: 2 人 Prajna • 2018-04-12 09:31 是的,onLoop里有5...
来源: Laya_社区 发布时间: 20180411
... llc 赞同来自: 碰到相同的问题,解决了,供参考: Laya.loader.load(chapterBG, Laya.Handler.create(this, this.onBGLoaded, [chapterBG])/* , Laya.Handler.create(this, this.onBGLoadProgress) */); 第三个参数打开在某些条件下会出t._addReference is not a function 可能是...
来源: Laya_社区 发布时间: 20180423
...全都无法正常工作,已测试三台机器均无法正常工作 Laya.loader.create 进度回调函数执行两次 FBXTools.exe把模型拖上去就停止工作,不清楚是什么原因? 构造函数不能进断点 引擎有没有管理或访问系统剪贴板的方法函数 layaair在开...
来源: Laya_社区 发布时间: 20180614
...红框内的修改 if (Browser.onMiniGame){ console.log(1); tSound=Laya.loader.getRes(url); } if (!soundClass)soundClass=SoundManager._soundClass; if (!tSound){ console.log(2); tSound=new soundClass(); tSound.load(url); if (Browser.onMiniGame){ Loader.cacheRes(url,tSound); } }; 2个if判断...
来源: Laya_社区 发布时间: 20190108
...p=Sprite3D&name=Sprite3DClone)) ```typescript { ...... //加载模型 Laya.loader.create("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(this, onComplete)); } ////完成回调 public function onComplete():void { //获取资源 var layaMonkey:Sprite3D = scene.addChild(Loader.getRe...
来源: Laya2.0_文档 发布时间: 20210715
...c.js 步骤1)加载JS 2)加载完回调 3)new需要的类 //加载 Laya.loader.load(getModuleJSPath("abc.js"), Handler.create(this,loadedHandler)); function loadedHandler(data:*):void{ //加载完回调 __JS__('window.eval(data + "//# sourceURL=" + "abc.js")'); //new需要...
来源: Laya_社区 发布时间: 20180507
...nction main():void { _guideImage = new Image(); _guideImage.source = Loader.getRes("source/png/ui/1/guideImg.png"); tweenGuide1(_guideImage ); Tween.clearAll(_guideImage); _guideImage.destroy(true); _guideImage.dispose(); _guideImage = null; } public function tweenGui...
来源: Laya_社区 发布时间: 20161216