大约有 335 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0039 秒)
Laya_社区(154) Laya3.0_api(74) Laya2.0_文档(74) laya_api(19) Laya2.0_api(6) Laya3.0_文档(4) Laya2.0_示例(2) Laya_示例(2)
...pt.__super.prototype._initialize.call(this, owner); } CmpScript.prototype._update = function (state) { CmpScript.__super.prototype._update.call(this, state); if (this.owner) { this.x += 1; var translate = new Laya.Vector3(this.x, 500, 0); Laya.Utils3D.convert3DCoordTo2DScreenCoord(translate, convert...
来源: Laya_社区 发布时间: 20161126
两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 我把Laya版本更新到 2.7 后发现 onTriggerEnter的回调 可能有些问题, 如图中,首先给黑色小牛里的一个添加了Collider的节点添加onTriggerEnter的...
来源: Laya_社区 发布时间: 20200720
...始发射粒子 EmitterBase stop():void 停止发射粒子 EmitterBase update(elapsedTime:Number):void 更新环粒子发射器。 EmitterRingProperty DetailcenterPositionpropertypublic var centerPosition:Vector3发射器中心位置。radiusproperty public var radius:Number = 30发射器半径...
来源: laya_api 发布时间: 20170603
...代码介绍 1、自动更新的代码路径在`src\main\java\layaair\autoupdateversion`,这个目录为apk自动更新的代码,如下图1所示:  2、在MainActivity.java中的onCreate函数,会先调用checkApkUpdate,如果没有更新或者更新完成后,再回调到in...
来源: Laya2.0_文档 发布时间: 20210715
...b2ContactManager.AddPair (laya.physics.js:586) at box2d.b2BroadPhase.UpdatePairs (laya.physics.js:308) at box2d.b2ContactManager.FindNewContacts (laya.physics.js:584) at box2d.b2World.Solve (laya.physics.js:799) at box2d.b2World.Step (laya.physics.js:811) at Physics._up...
来源: Laya_社区 发布时间: 20191019
# LayaAir 3D性能分析工具 > Engine \ IDE Version : 2.12 Update Date: 2021-04-19 在LayaAir2.12版本,LayaAir引擎更新了性能分析工具,工具集成在LayaAirIDE中,同时也提供了简易的性能查看方案。 ## 1、性能分析工具概述 在游戏开发过程中,游戏性...
来源: Laya2.0_文档 发布时间: 20210714
laya 脚本移除问题 给一个物体添加脚本,update计数,移除脚本,再把物体removeself,再实例化一个物品添加上刚才的脚本,计数不是重新开始的。但是获取脚本的时候,告诉已经移除了,用destroy移除物体的话,脚本的update会报错...
来源: Laya_社区 发布时间: 20180912
...or: Cannot read property '0' of undefined at SkinAnimations.__proto._update (laya.d3.js:34002) at MeshSprite3D.__proto._updateComponents (laya.d3.js:21363) at MeshSprite3D.__proto._update (laya.d3.js:36715) at Scene.__proto._updateChilds (laya.d3.js:27736) at Scene.__pr...
来源: Laya_社区 发布时间: 20180105
...享 微博 QZONE 微信 凉城 赞同来自: 解决了 修改laya.d3.js _update方法为 _update() { var i=0,n=0,j=0,m=0; n=this._eventList.length; var cameras=this._scene._cameraPool; if (n > 0){ for (i=0;i < n;i++){ var e=this._eventList; switch (e.type){ case "mousedown": this._mouseTouchDo...
来源: Laya_社区 发布时间: 20200119
...ught TypeError: Cannot read property 'length' of null at TimeLine.__proto._update (HMain.max.js:12479) at TimerHandler.__proto.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop (HMain....
来源: Laya_社区 发布时间: 20170327