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

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

271. 怎么获取手机相册内容 [ 48%]

...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: package { import laya.display.Sprite; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; public class Main { public function Main() { //初始化引擎 Laya.init(500,500);//...

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

272. googleplay资源zip包,入口页无法获取 [ 48%]

...y资源zip包,入口页无法获取 因为要接入googleplay,所以把layadcc之后的资源,都单独打包zip文件放到了手机目录中的storage\emulated\0\com.layabox.conch5\resource.zip中。 在游戏中加载入口页的话,还是用的本地加载mPlugin.game_plugin_set_option("...

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

273. image在相应loaded的时候,无法正确获取高度 [ 47%]

...应loaded的时候,无法正确获取高度 class RoleUIDynamic extends Laya.Image { matterBody: Matter.Body; constructor() { super(); this.on('start', this, this.init); } private init():void { console.log("init", this.x, this.y, this.width, this.height, this.scaleX, this.scaleY); var createOption...

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

274. 提示资源重复加载 [ 46%]

...poorpath02="Comp/yard_swimpool02.png";  export default class Yard extends Laya.Sprite { private swimpoolani:Laya.Animation;  constructor() { super(); this.swimpoolani=new Laya.Animation(); //this.init(); this.swimpoolani.loadAtlas("./res/atlas/Comp.atlas",Laya.Handler.create(this,this.onLoaded)); ...

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

275. LayaTree调试工具 · LayaAir3.0文档 · LAYABOX [ 46%]

LayaTree调试工具一、LayaTree安装1.1 通过Chrome应用商店添加1.2 手动下载并安装二、LayaTree 使用2.1 使用的入口2.2 使用技巧三、工具服务LayaTree调试工具 Author:李尔 [!Note] LayaTreeLayaAir引擎开发者李尔专门为LayaAir引擎广大的开发者...

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

276. 为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? [ 45%]

为什么laya的Button渲染逻辑顺序是先渲染,再获取素材切片? /** *@private *改变对象的状态。 */ __proto.changeState=function(){ this._stateChanged=false; this.runCallLater(this.changeClips); var index=this._state < this._stateNum ? this._state :this._stateNum-1; this._...

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

277. 使用layaAir3D从unity3D中导出场景模型时报错 [ 44%]

使用layaAir3D从unity3D中导出场景模型时报错 IndexOutOfRangeException: Array index is out of range. LayaExport.DataManager.saveSkinLmFile (UnityEngine.SkinnedMeshRenderer skinnedMeshRenderer, System.String savePath) LayaExport.DataManager.getSkinnedMeshRendererComponentData (UnityEngine....

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

278. KeyNotFoundException: The given key was not present in the dictionary. unityAir3d1.7.16 [ 43%]

.../mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniData (UnityEngine.GameObject gameObject, .JSONObject obj) LayaExport.DataManager.getAnimatorComponentData (UnityEngine.GameObject gameObject, .JSONObject component, System.Collections.Generic.Li...

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

279. 关于创建Sprite获取大小 [ 43%]

关于创建Sprite获取大小 发现个奇怪的问题,new Laya.Sprite().loadImage() 创建的对象大小不是图像大小,然后用getBounds获取也拿不到真实的大小?    这个建议官方改下接口,理论上width和height用来检测碰撞,那你看到的就应该是碰...

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

280. 如何获取animation的node节点? [ 42%]

...响。   2019-02-18 0 3 分享 微博 QZONE 微信 ippon 赞同来自: 在Layabox2中不需要自己创建node啊,node是Laya.display对象的基类, 而且在2.0里面已经使用场景Scene替代了view和dialog,如果你比较过创建后的Scene、view和dialog,它们的文件后缀都是...

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