大约有 3,253 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0124 秒)
Laya_社区(2450) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_示例(52) Laya2.0_示例(18)
...点击不生效 list.selectHandler = Handler.create(this,onRender, null, false);//滚动列表点击事件 private function onRender(index:int):void{ list.setItem(lastSelect,arrConver(lastSelect,false));//取消选中效果 list.setItem(index,arrConver(index,true));//添加选中效果 trace("_cardI...
来源: Laya_社区 发布时间: 20171129
...Local判断是否是局部空间,默认为true是局部空间,若传入false则是世界空间。 如果物体在局部空间和世界空间的起始位置都是一样的,并没有经过旋转等变换,那么它在两种空间中移动的结果是相同的,在第5节中会说明二者的...
来源: Laya3.0_文档 发布时间: 20251010
...屏蔽错误代码是多少 无效1、window.conch.showAlertOnJsException(false) 无效2、Laya.Browser.window.onerror = handleErr 无效3、window.showAlertOnJsException(false) 都没有有效果 4、怎么修改版本号,现在默认0.9.9 5、config.js文件在哪里? 2017-09-14 添加评...
来源: Laya_社区 发布时间: 20170914
...下大家 我转X轴的时候用的是 sphere.transform.rotate(vectx,true,false); 转Y轴的时候用的是sphere.transform.rotate(vecty,false,false); 一个是局部,一个是世界 我怎么限制x轴转到北极就不转了,欧拉角,同一个位置每次输出的值都不一样,怎么确...
来源: Laya_社区 发布时间: 20180523
...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