大约有 397 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0038 秒)
... /** *@private *分析文本换行。 */ __proto.parseLines=function(text){ var needWordWrapOrTruncate=this.wordWrap || this.overflow==Text.HIDDEN; if (needWordWrapOrTruncate){ var wordWrapWidth=this.getWordWrapW...
来源: Laya_社区 发布时间: 20180526
...这样即可,去掉判断if (this._selectedIndex !=value) __getset(0,__proto,'selectedIndex',function(){ return this._selectedIndex; },function(value){ //if (this._selectedIndex !=value){ this._selectedIndex=value; this.changeSelectStatus(); this.event(/*laya.events.Event.CHANGE*/"change"...
来源: Laya_社区 发布时间: 20190305
...问。。 2018-11-14 0 0 分享 微博 QZONE 微信 源 赞同来自: __proto._initStaticBatchs=function(rootOwner){ this._quickSort(this._initBatchSprites,0,this._initBatchSprites.length-1); …… } 这个函数的第一行的这个排序有问题,把它注释掉就可以把drawcall降...
来源: Laya_社区 发布时间: 20180508
设置fontSize的时候没做类型转换 __getset(0,__proto,'fontSize',function(){ return this._fontSize; },function(value){ if (this._fontSize !=value){ this._fontSize=value; this.isChanged=true; } }); 如果设置fontSize="30",没有做类型转换,后面所有通过fontSize参与的加法...
来源: Laya_社区 发布时间: 20181204
... 我不会再取名字了 赞同来自: /**@private */ __proto.onTargetMouseDown=function(e){ if ((this.isLockedFun)&& !this.isLockedFun(e))return; this.event(/*laya.events.Event.END*/"end"); this._clickOnly=true; ...
来源: Laya_社区 发布时间: 20201118
... 还有IOS Scene3D切换过程中乱点屏幕 end undefined __proto.remove=function(element){ var index=element._getIndexInList(); this.length--; if (index!==this.length){ var end=this.elements[this.length]; ...
来源: Laya_社区 发布时间: 20190820
...利用删除的item,但是看定义arr上面定义的是局部变量。__proto._createItems = function (startY, numX, numY) { var box = this._content; var cell = this._getOneCell(); var cellWidth = cell.width + this._spaceX; var cellHeight = cell.height + this._spaceY; if (this.cacheContent) { var...
来源: Laya_社区 发布时间: 20180418
Protobuf decode报错 使用protobuff 连接socket , socket约定的格式:length(整形),消息号(整形) ,消息体(buffer) 1.发送给服务器正常,也可以接受到服务区的消息 //已经加载完了.proto文件 var awesomMsg:any=root.lookup("com.lll.game....
来源: Laya_社区 发布时间: 20171113
...CallBack (http://127.0.0.1:31158/game/code.js:22404:25) at Handler.__proto.runWith (http://127.0.0.1:31158/game/code.js:725:41) at Function.success (http://127.0.0.1:31158/game/code.js:21629:33) at Object.success (http://127.0.0.1:31158/game/__ ... 213995) at r (http://127.0....
来源: Laya_社区 发布时间: 20190422
...yunzhongchen 赞同来自: 我也遇到了··调试时,laya.core.js的__proto._setFramesFromCache中Animation.framesMap[name]断点获取的值时null study4.zip 2017-11-14 0 3 分享 微博 QZONE 微信 cuixueying 赞同来自: 这个是引擎底层的输出,不是警告也不是报错,你...
来源: Laya_社区 发布时间: 20170817