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

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

41. laya.d3.component.Script3D [ 79%]

...行 此方法为虚方法,使用时重写覆盖即可 Script3D  onLateUpdate():void 每帧更新时执行,在update之后执行 此方法为虚方法,使用时重写覆盖即可 Script3D  onMouseClick():void 鼠标点击时执行 此方法为虚方法,使用时重写覆盖即可 Script3D...

来源: Laya2.0_api 发布时间: 20190513

42. [LayaAir2]Spine动画无法正常加载显示 [ 79%]

...    at Skeleton._createGraphics (laya.ani.js:2723:37)     at Skeleton._update (laya.ani.js:2588:104)     at TimerHandler.run (laya.core.js:22323:56)     at Timer._update (laya.core.js:22165:41)     at Stage._updateTimers (laya.core.js:17751:25)     at Stage.render (laya.core.js:17713:18)...

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

43. laya.physics.js:430 Cannot read property 'GetType' of null [ 79%]

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

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

44. 这个GetType=null的问题有大神解答下吗 [ 79%]

...nts/myLaya/test/bin/libs/laya.physics.js:586:140)   at box2d.b2BroadPhase.UpdatePairs (file:///D:/Documents/myLaya/test/bin/libs/laya.physics.js:308:193)   at box2d.b2ContactManager.FindNewContacts (file:///D:/Documents/myLaya/test/bin/libs/laya.physics.js:584:354)   at box2d.b2World.Step (file:/...

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

45. CameraMoveScript.as在哪儿下载群里的有错 [ 78%]

...UT, this, mouseOut); camera = owner as Camera; } override public function _update(state:RenderState):void { super._update(state); updateCamera(state.elapsedTime); } protected function mouseDown(e:Event):void { camera.transform.localRotation.getYawPitchRoll(yawPitchRoll); lastMouseX = Laya.stage.mous...

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

46. 发现bug,update大问题!!!!!!!!! 2.13版本 [ 78%]

发现bug,update大问题!!!!!!!!! 2.13版本 import { TableMgr } from "../common/table/TableMgr"; import { BaseWin } from "../common/windows/BaseWin"; import Const from "../Const"; import UIMain from "../ui/Game/UIMain";  export default class GameWnd extends BaseWin {     pu...

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

47. laya.components.Script [ 78%]

...执行 此方法为虚方法,使用时重写覆盖即可 Script  onLateUpdate():void 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 此方法为虚方法,使用时重写覆盖即可 Script  onMouseDown(e:Event):void 鼠...

来源: Laya2.0_api 发布时间: 20190513

48. 关于微信小游戏渲染子域图的问题 [ 78%]

...(http://127.0.0.1:10656/game/js/bundle.js:8352:45)     at Timer.__proto._update (http://127.0.0.1:10656/game/js/bundle.js:8101:15)     at Stage.__proto.render (http://127.0.0.1:10656/game/js/bundle.js:24593:14)     at Stage.__proto._loop (http://127.0.0.1:10656/game/js/bundle.js:24517:8)    ...

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

49. 物体随着鼠标滑动旋转脚本 [ 78%]

...s, this.mouseOut);     _this.Obj = owner; } // ObjectRotate.prototype._update = function (state) {     ObjectRotate.__super.prototype._update.call(this,state);     this.updateObject(state.elapsedTime); } //Object实时旋转 ObjectRotate.prototype.updateObject = function (elapsedTime) { ...

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

50. 新手,如何看懂官方代码? [ 77%]

...什么用this,而不是var lastMouseX = NaN; CameraMoveScript.prototype._update = function (state){...}像这句,prototype是什么,_update 又是什么,这些都可以直接点出来的,但又查不到API,怎么学?还有state这参数又是什么,请问我要在哪查找或者说...

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