大约有 4,034 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0076 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...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
...下: //获取可行走区域模型 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
...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
...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
...rivate _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断是否已初始化录屏对象 if (!this._recorder) { //判断是否为字节小游戏环境 if (Browser.onTTMiniGame) { //初始化录屏对象 this._recorder = tt.getGameRecorderManager(); } } } static get ins...
来源: Laya2.0_文档 发布时间: 20210715
....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
动态添加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
... 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
...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
LayaAir引擎 判断animation是否加载过某个资源 this.aniTemp.loadAtlas(path),什么判断某个path是否加载过 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 没...
来源: Laya_社区 发布时间: 20170809