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

大约有 1,758 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)

351. 在微信小游戏真机wx.onShow和wx.onHide中的currTimer的问题 [ 67%]

...信小游戏真机wx.onShow和wx.onHide中的currTimer的问题  public function Main() { MiniAdpter.init(); MiniAdpter.window.wx.onShow(_onShowWX); MiniAdpter.window.wx.onHide(_onHideWX); } private function _onShowWX(res:*):void { console.log("wx.onShow:",res); console.log(Laya.timer.currTimer); }...

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

352. Cannot read property 'call' of undefined [ 67%]

...细日志: "TypeError: Cannot read property 'call' of undefined    at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19)    at HomePa...

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

353. layaair2-cmd安装报错 [ 67%]

...ta\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp-babel'     at Function.Module._load (internal/modules/cjs/loader.js:562:25)     at Module.require (internal/modules/cjs/loader.js:690:17)     at require (internal/modules/cjs/helpers.js:25:18)     at Object.<anonymous> (E:\cyh5...

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

354. dialog的lock属性没出现 [ 67%]

... private const CLOSE_BTN_PADDING:int = 5; private var assets:Array; public function DialogCenterClose() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; ...

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

355. ls场景文件通过Laya.loader.create()预加载后stage.destroyChildren()出现异常Cannot read property 'visible' of null [ 67%]

... 想做不同场景之间的切换。 spriteBtn.on(Laya.Event.CLICK, this, function (e) { Laya.stage.destroyChildren(); newScene(); });问题:LayaAirUnityPlugin 1.1.0导出了 ls 场景文件,在通过Laya.loader.create()预加载后。在3次Laya.Scene.load()后,最后一次 Laya.stage.destro...

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

356. 调用rigitbody.clearForce 报错 [ 67%]

... ImageData is not defined? 导微信小程序报错window.focus is not a function 问题状态 最新活动: 2018-10-22 12:03 浏览: 1307 关注: 2 人 e f • 2018-10-22 15:07 谢谢。这个是引擎的bug还没更新出去吗? Luren_yi • 2018-10-22 15:13 是的,下版本就更新

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

357. laya.net.Socket_API3.0 [ 67%]

...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...

来源: Laya3.0_api 发布时间: 20231115

358. laya.resource.PrefabImpl_API3.0 [ 67%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231115

359. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 67%]

...dScriptError Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided. TypeError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signature provided. at TextureCube.__proto._createWebGlTextu...

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

360. laya.d3.core.Avatar_API3.0 [ 67%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

来源: Laya3.0_api 发布时间: 20231102