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

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

1191. 2.0 beta3 物理 DestroyJoint 报错 [ 85%]

...到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

1192. 关于雾化影响粒子特效的问题 [ 85%]

...关于雾化影响粒子特效的问题     openFlog() {         this.gamesConfig.fightScene.enableFog = true;         this.gamesConfig.fightScene.fogColor = this.flogColor         this.gamesConfig.fightScene.fogStart = 20               this.gamesConfig.fightScen...

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

1193. 为什么手机端网页播放8k的音频要点一下才能播放,因为下载慢吗,电脑端网页都不用 [ 85%]

...示例,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

1194. Unity导出.lm文件,laya读取并显示,但是改变不了position [ 85%]

...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

1195. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 85%]

...= 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

1196. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 85%]

...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

1197. UI言语包什么用 [ 85%]

...: 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

1198. 回调函数... [ 85%]

回调函数... constructor(){ Laya.loader.load(this.skins, Handler.create(this, this.onUIAssetsLoaded)); } aaa() { } function onUIAssetsLoaded( this.aaa();//为什么回调函数不能调用,undefined } 2017-06-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

1199. contact.getHitInfo [ 85%]

...法 contact.getHitInfo = function (): any {     var manifold: any = new this.box2d.b2WorldManifold();    ... } 这里的this不是Physics类的当前对象,this.box2d undefined 附件 : --> 2020-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

1200. Dialog [ 85%]

...有移除?是为什么? 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