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

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

321. LayaAir 2.0 WorkerLoader无效 [ 64%]

LayaAir 2.0 WorkerLoader无效 在用Laya.loader.load加载资源时,如果设置useWorkerLoader为true,则报libs/workerloader.js找不到。 libs下有个workerloader.js,如果将WorkerLoader.workerPath设置为"libs/worker.js";,则加载不成功,complete回调不会被调用 2018-12-0...

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

322. ToolTip鼠标悬停的使用 [ 64%]

...的提示功能 以下提供了三种鼠标提示package { import laya.net.Loader; import laya.ui.Button; import laya.ui.TipManager; import laya.utils.Browser; import laya.utils.Handler; import ui.TestTipsUI; public class ToolTipDemo { private var _testTip:TestTipsUI;//ui弹框(IDE发布),用...

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

323. list里面可以加入多个view吗? [ 64%]

...放置view,写了个例子,可以参考下:package { import laya.net.Loader; import laya.ui.List; import laya.ui.View; import laya.utils.Browser; import laya.utils.Handler; public class LayaAirDemo { private var list:List; public function LayaAirDemo() { Laya.init(Browser.width,Browser.height)...

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

324. 背景音乐音效问题 [ 64%]

... var lobbyRes:Array<any> = [ {url: "Lobby/Sound/BG309.mp3",type:Laya.Loader.SOUND}, } Laya.loader.load(fightLandlordRes, Laya.Handler.create(this, this.resLoaded)); Laya.SoundManager.playMusic("Lobby/Sound/BG309.mp3"); 2017-09-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

325. [LayaAirIDE3]skel骨骼动画播放失败,编辑器预览没问题 [ 64%]

...el骨骼动画播放失败,编辑器预览没问题 复现代码: Laya.loader.load("https://hlsgs.sanguosha.com/re ... ot%3B, Laya.Loader.SPINE).then((templet: Laya.SpineTemplet) => { this.skeleton = new Laya.SpineSkeleton();     this.skeleton.templet = templet;     console.log("动画数...

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

326. 带滑块的进度条 [ 63%]

... 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) Laya.loader.create 进度回调函数执行两次 麻烦帮看一下这种遮罩bar的进度条设了遮罩不起作用 关于环形进度条,进度不能重置问题 这种进度条怎么实现? 官方提供的进度条示例 只...

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

327. 以前问题的进度咨询 [ 63%]

...于HTTPS的一些问题咨询! 想将以前的页游项目转成h5 Laya.loader.create 进度回调函数执行两次 drawTexture 画出来的数据会有以前的数据 问题状态 最新活动: 2017-07-18 10:10 浏览: 706 关注: 2 人

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

328. index.js函数位置 [ 63%]

...什么缓动模式 Text类中竟然没有pos函数的api~ 请问laya.net.Loaderlaya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 如何移位置 一个3d模型,怎么设置每一个面的uv取值位置 代码重用和公共函数...

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

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

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

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

330. socket.sent [ 63%]

....Stage.SCREEN_NONE; var uiResArr =[ {url:"res/atlas/comp.atlas",type: Laya.Loader.ATLAS}, ]; Laya.loader.load (uiResArr , Laya.Handler.create(this,this.onLoded));      //加载图片 this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_ENDIAN; this.socket =...

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