大约有 439 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya_社区(59) Laya2.0_示例(8) Laya_示例(7) Laya3.0_文档(6) Laya2.0_文档(6)
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...
来源: laya_api 发布时间: 20170929
...自: 在btn.on(Event.CLICK,this,onClickBtn,[index]);之前好像要先 btn.off(Event.CLICK,this,onClickBtn,[index]);不然会重复监听click事件 2017-06-04 0 1 分享 微博 QZONE 微信 gls_laybox 赞同来自: 这个是可以监听按钮,可是怎么拿到这个按钮对象呢,或者说这...
来源: Laya_社区 发布时间: 20170513
...ined By matrix : Matrix4x4[read-only] 取变换矩阵。 TransformUV offset : Vector2 取偏移。 TransformUV rotation : Number 取旋转。 TransformUV tiling : Vector2 取平铺次数。 TransformUVPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefin...
来源: laya_api 发布时间: 20170929
...y]); } private parseComplete(x, y) { this._factory.off(Laya.Event.COMPLETE, this, this.parseComplete); var sprite = this._factory.buildArmature(0); sprite.x = x; sprite.y = y; sprite.scale(0.5,0.5); sprite.autoSize =...
来源: Laya_社区 发布时间: 20161108
...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
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...
来源: laya_api 发布时间: 20170929
...接 提交 3 个回复 cuixueying 赞同来自: 把你的输出放到on和off事件的上方看下。 2017-01-12 0 6 分享 微博 QZONE 微信 Todo 赞同来自: ......... 2017-01-12 0 0 分享 微博 QZONE 微信 jifm 赞同来自: 两个等号,你这是赋值 2017-01-12 0 2 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170112
...g) { this.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } else { this.off(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); } } onMouseDown(e: Laya.Event) { // console.log(e.currentTarget, e.target); if(e.target == this) { this.startDrag(); } else { this.stopDrag(); } } 判断一下点击对...
来源: Laya_社区 发布时间: 20191121
...:Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中...
来源: laya_api 发布时间: 20170929
...ode shaderData stencilOp stencilRef stencilTest stencilWrite texture tilingOffset cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByI...
来源: Laya3.0_api 发布时间: 20231115