大约有 3,244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0515 秒)
Laya_社区(2446) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_示例(52) Laya2.0_示例(18)
...panel的滑动事件,等完成再能继续滑动!panel.mouseEnabled = false不能用,会把他的子类全都禁止了。 2018-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 RIVER 赞同来自: 韩韩韩...
来源: Laya_社区 发布时间: 20180329
...代码问题 添加progress事件回调时的第四个参数要设置为false 否则触发一次该回调就会被回收 Handler.create(this, onProgress, null ,false) 2018-04-28 0 0 分享 微博 QZONE 微信 176*****233 赞同来自: hander写成new Handler(this, onProgress) 或 Handler.cr...
来源: Laya_社区 发布时间: 20180428
...ne:any="mainscene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false; static physicsDebug:boolean=false; static exportSceneToJson:boolean=false; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("game/ImageRunTime.ts",ImageRunTime...
来源: Laya_社区 发布时间: 20181014
...;调试检查代码发现,一个元素从舞台上移除后,设为了false; _setDisplay(value) { if (!value) { if (this._cacheStyle) { this._cacheStyle.releaseContext(); this._cacheStyle.relea...
来源: Laya_社区 发布时间: 20210629
...结束后,想让用户无法再TextArea中输入文字,用了visible=false,editable=flase等,都 无效,应该怎么设置? 具体 要求是:输完会弹出一个提示框,已经设置鼠标为是,但下面的TextArea还是可以输入,按道理下面TextArea的应该无法再...
来源: Laya_社区 发布时间: 20250930
...his.touch.position.x; this.lastPosition.y = this.touch.position.y; first = false; } else{ //移动触碰点 var deltaY = this.touch.position.y - this.lastPosition.y; var deltaX = this.touch.position.x - this.lastPosition.x; this.lastPosition.x = this.touch.position.x; this.lastPosition.y = this.touc...
来源: Laya2.0_文档 发布时间: 20210715
...his.touch.position.x; this.lastPosition.y = this.touch.position.y; first = false; } else{ //移动触碰点 var deltaY = this.touch.position.y - this.lastPosition.y; var deltaX = this.touch.position.x - this.lastPosition.x; this.lastPosition.x = this.touch.position.x; this.lastPosition.y = this.touc...
来源: Laya2.0_文档 发布时间: 20210715
...一个布尔型的值。勾选代表true,表示可见。不勾选代表false,表示不可见,此时如果精灵加载了图片,那么就不会显示到画布上了。 2.2.8 透明度Alpha 如果精灵加载了图片,透明度可以设置图片的透明度,范围为0~1。 2.3 Sprite的特...
来源: Laya3.0_文档 发布时间: 20251010
...没有相交,则返回null。 Texture destroy(forceDispose:Boolean = false):void 销毁纹理(分直接销毁,跟计数销毁两种)。 Texture event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getPixels(x:Number, y:Number, width:Number, height:Number):Array ...
来源: laya_api 发布时间: 20170929
...mera.transform.lookAt(model.transform.position, new Laya.Vector3(0, 1, 0), false); camera.transform.rotate(new Laya.Vector3(0, y, 3), false, false); }); 我想让摄像机围绕一个模型旋转做动画,用Tween没有起到作用. 用函数loop试了一下,设置lookAt无论是放loop外面还...
来源: Laya_社区 发布时间: 20170907