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

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

241. laya.events.EventDispatcher [ 63%]

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

242. laya3D导入动画材质在安卓手机和电脑上显示正常,在苹果手机显示异常 [ 63%]

...;, "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

243. laya可以转换flash补间动画成h5动画吗? [ 63%]

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

244. 执行了这个 Laya.timer.clear(this, this.onLoop);还是会继续执行onLoop [ 63%]

...调函数时报is not a function 怎样跨页面执行脚本命令? Laya.loader.create 进度回调函数执行两次 注册函数里面 事件侦听函数的执行域 的详解 问题状态 最新活动: 2018-04-11 19:17 浏览: 810 关注: 2 人 Prajna • 2018-04-12 09:31 是的,onLoop里有5...

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

245. t._addReference is not a function [ 63%]

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

246. Laya.Script的派生类的_update函数不工作? [ 63%]

...全都无法正常工作,已测试三台机器均无法正常工作 Laya.loader.create 进度回调函数执行两次 FBXTools.exe把模型拖上去就停止工作,不清楚是什么原因? 构造函数不能进断点 引擎有没有管理或访问系统剪贴板的方法函数 layaair在开...

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

247. 打包百度小游戏不能播放声音?是api不支持 还是发生了改变 或者格式问题? [ 63%]

...红框内的修改  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

248. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 63%]

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

249. AS代码如何new一个js库中的类并且使用这个类 [ 62%]

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

250. Uncaught TypeError: Cannot read property '_tf' of null [ 62%]

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