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

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

151. laya.device.Shake [ 57%]

...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...

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

152. order层次不起作用 [ 57%]

...不起作用?请问官方可以给一个简单的代码么? 为什么off不起作用 alertGlobalError不起作用,并且任何异常都会导致整个游戏卡死 2.2.0开始,摄像机的清除标记不起作用 LayaAir IDE 2.2中安装了vscode的扩展prettier,不起作用 3d 百度 inte...

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

153. laya.media.Sound [ 57%]

...事件。 EventDispatcher  load(url:String):void 加载声音。 Sound off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...

来源: laya_api 发布时间: 20170929

154. laya.d3.core.material.Material_API3.0 [ 57%]

...ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setDefine setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex...

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

155. Laya打包微信小游戏预览黑屏-部分机型出现 [ 56%]

...提交 1 个回复 阡陌红尘 赞同来自:  摄像机设置HDR设置为Off  2020-09-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 阡陌红尘 相关问题 关于微信小游戏关系链的问题 微信关系链:LayaAir引擎...

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

156. 请问有没有方法能够获取“鼠标是否处于按下状态”? [ 56%]

...ge.on(Event.MOUSE_MOVE, this, onMouseMove); onMouseUp  中   Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); 也可以写个变量  ,down的时候为true,否则为false  如"cuixueying"  回答的一样! 2017-04-21 3 0 分享 微博 QZONE 微信 cuixueying 赞同来自: zhang92tong ...

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

157. sprite 设置为静态变量后,无法从舞台移除 [ 56%]

...); function onClick():void { // TODO Auto Generated method stub Laya.stage.off(Event.CLICK,this,onClick); Laya.stage.removeChild(sp); Loader.clearRes("background.jpg"); sp.destroy(); } } } } 2016-09-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

158. laya.media.Sound [ 55%]

...事件。 EventDispatcher  load(url:String):void 加载声音。 Sound off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...

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

159. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 55%]

...ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByIndex setFloat setFloatByIndex setInt setIntByIndex setMatrix4x4 setMatrix4x4ByIndex setShader...

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

160. Native IOS下获取陀螺仪数据为0 [ 55%]

...陀螺仪的移动                      Laya.Gyroscope.instance.off(Laya.Event.CHANGE, this, this.onOrientationChange);                      return;             }             console.log(`alpha = ${info.alpha} beta = ${info.beta} gamma = ${info.gamma} and x = ...

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