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

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

241. Laya中Button等组件lose skin的问题 [ 70%]

...g2.jpg",type:Laya.Loader.IMAGE} ];  Laya.loader.load(resArr, Laya.Handler.create(null, onLoaded));  function onLoaded(): void {     Laya.URL.basePath ="https://xxx.com/";     //实例UI界面     var Main: MenuPageUI = new MenuPageUI();     Laya.stage.addChild(Main); } 在我找原...

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

242. 特效LOADED监听不到 [ 70%]

...ll"; Laya.stage.bgColor = "#232628"; Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); } private function createAnimation(_e:*=null):void { var ani:Animation = new Animation(); ani.loadAtlas(AniConfPath); // 加载图集动画 ani.interval = 30; // 设置播...

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

243. 动画-图集动画 [ 70%]

...Laya.stage.bgColor = "#232628"; Laya.loader.load(aniConfPath, Laya.Handler.create(this, this.createAnimation), null, Laya.Loader.ATLAS); } createAnimation() { const Animation = Laya.Animation; let ani = new Animation(); Laya.stage.addChild(ani); ani.loadAtlas(aniConfPath); // 加载图集动画 ani....

来源: Laya2.0_示例 发布时间: 20251209

244. 粒子中引用的图片能合图吗 [ 70%]

....loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void {     Laya.loader.load("res/comp/dian.part", Handler.create(this, this.onPartLoaded)); } function onPartLoaded(data: any) {     let part = new Laya.Particle2D(data)...

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

245. 动画-图集动画 [ 70%]

...ll"; Laya.stage.bgColor = "#232628"; Laya.loader.load(AniConfPath, Handler.create(this, createAnimation), null, Loader.ATLAS); })(); function createAnimation() { var ani = new Animation(); ani.loadAtlas(AniConfPath); // 加载图集动画 ani.interval = 30; // 设置播放间隔(单位:毫秒)...

来源: Laya_示例 发布时间: 20251209

246. android native环境,ttfloader加载的字体,设置无效果! [ 70%]

...loader.fontName = "ubuntu";             ttfloader.err = Laya.Handler.create(this, () => {                 console.log("加载失败ubuntu-bold.ttf");             });             ttfloader.complete = Laya.Handler.create(this, () => {                        ...

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

247. laya.net.LoaderManager_API3.0 [ 70%]

...rl cancelLoadByUrls clearRes clearResByGroup clearTextureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off offAll offAllCaller on once setGroup Constructors constructor new LoaderManager(): LoaderManager Defined in laya/net/LoaderManager.ts:72 创建一个新的 LoaderManager ...

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

248. Laya.loader.load 加载场景报错 [ 70%]

...a.loader.load 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is n...

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

249. laya.net.LoaderManager [ 70%]

...的加载,所有未加载的内容全部停止加载。LoaderManager  create(url:*, complete:Handler = null, progress:Handler = null, type:String = null, constructParams:Array = null, propertyParams:Object = null, priority:int = 1, cache:Boolean = true):void 根据clas类型创建一个未初始...

来源: Laya2.0_api 发布时间: 20190513

250. 2d资源和3d资源没有统一的加载接口? [ 70%]

...的加载接口? 加载2d   Laya.loader.load 加载3d   Laya.loader.create 有没有统一的接口呢? 2018-11-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 您是用哪个版...

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