大约有 4,034 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0105 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...到box2d.b2World.prototype.DestroyJoint 在下面两行代码之前添加this.m_jointCount判断 box2d.ENABLE_ASSERTS && box2d.b2Assert(0 < this.m_jointCount); --this.m_jointCount; 完整代码如下: box2d.b2World.prototype.DestroyJoint = function(a) { box2d.ENABLE_ASSERTS &am...
来源: Laya_社区 发布时间: 20181024
...关于雾化影响粒子特效的问题 openFlog() { this.gamesConfig.fightScene.enableFog = true; this.gamesConfig.fightScene.fogColor = this.flogColor this.gamesConfig.fightScene.fogStart = 20 this.gamesConfig.fightScen...
来源: Laya_社区 发布时间: 20190420
...示例,SoundManager.playSound("../../res/sounds/btn.mp3", 1, new Handler(this, this.onComplete));初始化的时候有load资源Laya.loader.load(this.soundPath, Handler.create(this, this.setup)); 2019-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20190810
...es/LayaScene_Alien/Assets/FBXs_Stacy/EnvArctic_alien-EnvArctic_alien.lm"); this.meshSprite3D = new Laya.MeshSprite3D(tempmodels); scene.addChild(this.meshSprite3D); this.meshSprite3D.transform.position.x = 0; this.meshSprite3D.transform.position.y = 0; this.meshSprite3D.transform.position.z = 10; ...
来源: Laya_社区 发布时间: 20180926
...= Laya.Image; var WID = 373, HEI = 85; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box); // 主要逻辑代码 var Stage = Laya.Stage; var List = Laya....
来源: Laya2.0_文档 发布时间: 20210714
...test.atlas", "test/1.png", "test/2.png", "test/3.png"],Laya.Handler.create(this,this.onComplete)); } }.bind(this)); }else { Laya.loader.load("res/atlas/test.atlas",Laya.Handler.create(this,this.onComplete)); } } onComplete(): void { //初始化rank排行榜 var rank = new BigRank(); //初始...
来源: Laya_社区 发布时间: 20190307
...: 2017-08-21 19:45 浏览: 870 关注: 2 人 asdf131 • 2017-08-22 20:08 this.txtMapName.text = "地图:"+name; 用语言包的话的分两次赋值? this.txtMapName.text = "地图:"; this.txtMapName.text = this.txtMapName.text + name;
来源: Laya_社区 发布时间: 20170821
回调函数... constructor(){ Laya.loader.load(this.skins, Handler.create(this, this.onUIAssetsLoaded)); } aaa() { } function onUIAssetsLoaded( this.aaa();//为什么回调函数不能调用,undefined } 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170626
...法 contact.getHitInfo = function (): any { var manifold: any = new this.box2d.b2WorldManifold(); ... } 这里的this不是Physics类的当前对象,this.box2d undefined 附件 : --> 2020-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20200327
...有移除?是为什么? function Controller() { Controller.super(this); this.btn.on(Event.CLICK,this,function(){ this.destroy(); }) } Laya.class(Controller, "Controller", stUI); 2018-08-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20180831