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

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

251. 图片放在assets根目录下无法被引用成功,必须放到一个文件夹中 [ 53%]

...定对这个图集做了预加载了 var resArray = [ {url:"res/atlas/comp.json", type: Laya.Loader.ATLAS}, {url:"res/atlas/assets.json", type: Laya.Loader.ATLAS} ]; Laya.loader.load(resArray, Laya.Handler.create(null,LoadResComplete)); cuixueying • 2017-03-21 16:15 好的,...

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

252. A/libc: Fatal signal 11 (SIGSEGV), code 1错误,app闪退 [ 53%]

...控制台提示:错误,图片是IDE自带的,也不显示 lose skin comp/button.png 错误,全部按照UI案例来的呀 2.3.0版本微信小游戏库错误重现demo 模型在ios中,某个特定角度下显示错误 spine动画转换失败,加载错误:导出二进制数据出错:writeUin...

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

253. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...: 语法结构 示例代码 语句说明 [img]image_url[/img] [img]atlas/comp/image.png[/img] 显示一张图片 [url=link_href]text[/url] [url='www.layabox.com']蓝亚盒子[/url] 显示一个超级链接 [b]text[/b] [b]这些字是粗体[/b] 设置文本为粗体 [i]text[/i] [i]这些字是斜...

来源: Laya3.0_文档 发布时间: 20251010

254. 取色器组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...码创建ColorPicker取色器组件(ColorPicker) ColorPicker继承自UIComponent,ColorPicker组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。ColorPicker的详细用法可以参考ColorPicker API。 一、通过LayaAir IDE创建ColorPicker 1.1 创建ColorPicke...

来源: Laya3.0_文档 发布时间: 20251010

255. Cannot connect to runtime process, timeout after 10000 ms [ 53%]

... ui控件的runtime可以设置添加参数吗 prefab添加runtime脚本 comp._addComponentInstance is not a function 2.0 Beta3版本中,runtime脚本的的问题 看腾讯课程碰到的runtime无效问题 IDE界面编辑中最顶层view设置runtime无效 Cannot connect to runtime process, timeo...

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

256. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...建一个自定义的组件脚本: import Sprite = Laya.Sprite; import Component = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite ...

来源: Laya3.0_文档 发布时间: 20251010

257. js版本 layaide ui组件发布后 res下没有对应的.atlas文件生成 [ 53%]

...组件 (jiaoyiqu.ui)   2 发布后 发现res/atlas/下面只有个 comp.atlas 并且 layaUI.max.all.js里面只有个TestPageUI   如果我插入 new TestPageUI() 显示出的是这个   PS :刚刚接触laya的前端 以前基本只做OA系统 这个问题困扰了我快一下午了  麻...

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

258. Cannot connect to runtime process, timeout after 10000 ms [ 53%]

... ui控件的runtime可以设置添加参数吗 prefab添加runtime脚本 comp._addComponentInstance is not a function 2.0 Beta3版本中,runtime脚本的的问题 看腾讯课程碰到的runtime无效问题 IDE界面编辑中最顶层view设置runtime无效 Cannot connect to runtime process, timeo...

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

259. 加载时间轴动画报错 [ 52%]

...如下: this.ani = new Laya.Animation(); this.ani.loadAtlas("res/atlas/comp.json", Laya.Handler.create(this, showApe));   function showApe(){ this.ani.loadAnimation("TimeLine.ani"); Laya.stage.addChild(this.ani); this.ani.play(); }   运行时报 TypeError:Cannot read property '_create' of null...

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

260. 预加载结束之后还是报lose skin [ 52%]

...还是报lose skin private loadRes():void{ Laya.loader.load("./res/atlas/comp.atlas",Laya.Handler.create(this, this.onAssetLoaded),Laya.Handler.create(this, this.onLoading, null, false)); } private onLoading(progress: number): void { console.log("加载进度: " + progress); } private onAssetLoaded(...

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