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

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

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

...dRes():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(texture:Laya.Texture){ console...

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

1292. 寻路导航示例中添加Laya.PathFind组件报异常 [ 83%]

...下: //获取可行走区域模型 var meshSprite3D: Laya.MeshSprite3D = this.scene.getChildByName('Scenes').getChildByName('HeightMap') as Laya.MeshSprite3D; //使可行走区域模型隐藏 meshSprite3D.active = false; var heightMap: Laya.Texture2D = Laya.Loader.getRes("../../res/threeDimen/scen...

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

1293. [LayaAir2]Laya.loader.create 字节跳动苹果抖音扫码调用出现卡死现象 [ 83%]

...e("res/Scene/Conventional/Model.lh",             Laya.Handler.create(this, function () {                 GameManager.models = Laya.loader.getRes("res/Scene/Conventional/Model.lh");                 this.refreshProgressBar(1);                 this.destroy();         ...

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

1294. 限制区域拖动效果,为什么会无法限制呢? [ 83%]

...bGL; var Handler = Laya.Handler  function GolfMainUI() { GolfMainUI.super(this)  var dragRegion; showDragRegion(); this.golfBall.x = Laya.stage.width / 2; this.golfBall.y = Laya.stage.height / 2; this.golfBall.on(Event.MOUSE_DOWN, this, onStartDrag)  function showDragRegion() { //拖动限制区...

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

1295. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 83%]

...rivate _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否已初始化录屏对象 if (!this._recorder) { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame) { //初始化录屏对象 this._recorder = tt.getGameRecorderManager(); } } } static get ins...

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

1296. 苹果上架问题, [ 83%]

....5.2 and section 3.3.2 of the Apple Developer Program License Agreement. This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it...

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

1297. 动态添加addComponent(Laya.RigidBody)的问题 [ 83%]

动态添加addComponent(Laya.RigidBody)的问题 1.动态添加 this.owner.addComponent(Laya.RigidBody)后; 在调用  this.owner.removeSelf()后会抛错 : laya.core.js:13190 Uncaught 无法实例class RigidBody extends Laya.Component {... 2.但如果将Laya.RigidBody组件直接挂在预制...

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

1298. Templet资源删除不掉 [ 83%]

... factory = new Templet();             factory.on(Event.COMPLETE, this, onSkeletonDataParsed); //            factory.on(Event.ERROR, this, onError); //            factory.parseData(texture, data, 60);             factory.loadAni("res/Dragon.sk");         } ...

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

1299. list组件改变位置后在改变数据源的长度,会导致index超过数据源长度 [ 83%]

...ONE 微信 Laya_Aaron 赞同来自: private onClick(e: Laya.Event) {     this._data = [1];   this.list.array = this._data; this.list.y = 220; this.list.height = 300;   }   代码这么写就好了 2019-09-19 0 1 分享 微博 QZONE 微信 Laya新用户 赞同来自: 这2行换位置也可以解...

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

1300. 判断animation是否加载过某个资源 [ 83%]

LayaAir引擎 判断animation是否加载过某个资源 this.aniTemp.loadAtlas(path),什么判断某个path是否加载过 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 没...

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