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

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

1081. 在Unity中导出拖尾系统(TypeScript-3D基础(TS)-LayaAir3D之拖尾系统) [ 54%]

...尾 Laya.Sprite3D.load('LayaScene_tst/Conventional/Sphere.lh',Laya.Handler.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function(){ //使用差速来体现移动 box...

来源: Laya2.0_文档 发布时间: 20210715

1082. 龙骨动画残影 [ 54%]

...骨的官方DEMO转的。部分代码片段如下:  private _onAnimationCreated(ani)     {         console.log("ani created:" + ani);         this._hero = ani;         this.addChild(this._hero);         this._hero.pos(300, 400);         this._hero.scale(0.3, ...

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

1083. 不存在的资源路径问题 [ 54%]

...([{ url:com.globals.GameConfig.XML_LIB_URL, type:Loader.BUFFER }], Handler.create(this, this.onLibLoaded)); 资源是不存在的,然后还是调用了 this.onLibLoaded 这个,这种怎么跟呢?谢谢。 zeorro • 2017-11-02 17:13 private onLibLoaded():void { CommonLocator.parseJsonFile(); l...

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

1084. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 54%]

...yaAir3D constructer start loadres url:", this._sceneURl); Laya.loader.create([{url:this._sceneURl, clas:MyScene}], Laya.Handler.create(this, this.loadComplete)); } private loadComplete():void { console.log("debuginfo LayaAir3D constructer loadres complete"); this._scene = MyScene.load...

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

1085. UI界面加载有哪些回调方法可用 [ 54%]

....loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); 类似于this.onLoaded函数,还有哪些生命周期相关的回调呢。 我想在UI完全加载完毕后,完成一些init操作,this.onLoaded方法中无法获取采用相对布局的控...

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

1086. 【vivo】2d图集加载不上 [ 54%]

【vivo】2d图集加载不上 Laya.loader.load(url,Handler.create(this,onLoadComplete),null,Loader.ATLAS); 用Loader.ATLAS图集类型加载失败 附件 : --> myLaya.zip 2019-11-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

1087. laya.resource.Texture [ 54%]

...:Bitmap = null, uv:Array = null) 创建一个 Texture 实例。 Texture  create(source:*, x:Number, y:Number, width:Number, height:Number, offsetX:Number = 0, offsetY:Number = 0, sourceWidth:Number = 0, sourceHeight:Number = 0):Texture[static] 根据指定资源和坐标、宽高、偏移量等创...

来源: laya_api 发布时间: 20170929

1088. Panel滚动条滑块位于最下方 [ 54%]

...ad([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"bg2.png"}],Handler.create(this,onCom)); } private function onCom():void { var img:Image=new Image(); img.skin="bg2.png"; panel=new Panel(); panel.vScrollBarSkin="comp/vscroll.png"; panel.width=300; panel.height=300; Laya.stage.addChild(panel); ...

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

1089. 微信小游戏怎么加载本地的配置文件 [ 54%]

...n",type:laya.net.Loader.TEXT} ]; Laya.loader.load(this.configAsset,Handler.create(this,this.loadConfigCallBack)) } public loadConfigCallBack(str:boolean){ if(str){ var config; config=laya.net.Loader.getRes("res/config/playerCard.json"); PlayerCardManager.instance.initConfig(config); } } 加载到,...

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

1090. 这个 `--allow-file-access-frome-files` 参数是什么?这个 frome 是什么鬼? [ 54%]

...池对类怎么传参数 as3中如何定义html中的id参数 Laya.Handler.create 加载图片回调参数问题 GradientDataNumber warning是什么 微信小游戏绘制开放域内容,字体模糊是什么原因? IDE中js压缩工具,能不能用类似命令行,或者编译参数等等方...

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