大约有 495 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0051 秒)
...5 因为绘制文字就是会增加drawcall kezhiyu • 2018-05-23 10:16 __proto.fillText=function(text,x,y,font,color,textAlign){ Stat.drawCall++; if (arguments.length > 3 && font !=null){
来源: Laya_社区 发布时间: 20180516
...狂飙,哪怕是新建的示例项目。。。 laya.debugtools.js中的__proto.render有一句: Stat.spriteCount++;这令Sprite每秒涨几百上千的,也没有对应的--,不知道是啥意思。。。 2019-04-28 0 1 分享 微博 QZONE 微信 O古O冬 赞同来自: 有没有官方的说...
来源: Laya_社区 发布时间: 20190426
...博 QZONE 微信 vison123 赞同来自: /**@private */ __proto.loop=function(){ var mouseY=Laya.stage.mouseY; var mouseX=Laya.stage.mouseX; this._lastOffset=this.isVertical ? (mouseY-this._lastPoint.y):(mouseX-this._lastPoint.x); ...
来源: Laya_社区 发布时间: 20181028
...插件导出的动画没有avatar文件了,导致挂载不上 __proto._isLinkSpriteToAnimationNode=function(sprite,nodeName,isLink){ if (this._avatar){ 这一步必须要有 avatar 文件,但是用新的2.0插件导出的角色不带avatar文件导致无法挂载,可在...
来源: Laya_社区 发布时间: 20191011
...eCallBack (http://127.0.0.1:9973/game/code.js:21386:25) at Handler.__proto.runWith (http://127.0.0.1:9973/game/code.js:712:41) at Function.success (http://127.0.0.1:9973/game/code.js:21580:33) at Object.success (http://127.0.0.1:9973/game/__d ... :18788) at c (http://127.0.0....
来源: Laya_社区 发布时间: 20180205
... 在unity中将骨骼动画fbx文件导出laya中,读取时报错 __proto._getAvatarOwnersByClip=function(clipIndex){ var frameNodes=this._clips[clipIndex]._nodes; var frameNodesCount=frameNodes.length; 其中frameNodes为空 附件是骨骼动画fbx文件 Unity 5.6.0f3 laya1.7.13 ...
来源: Laya_社区 发布时间: 20180116
Node.prototype._activeHierarchy存在的bug或者说是onEnable和onAwake的坑 官方源码如下: /** *@private */ __proto._activeHierarchy=function(activeChangeScripts){ this._setBit(/*laya.Const.ACTIVE_INHIERARCHY*/0x02,true); if (this._...
来源: Laya_社区 发布时间: 20190730
...3-24 19:53 /** *获取唯一标识ID,通常用于识别。 */ __getset(0,__proto,'id',function(){ return String(this._$1__id); }); 158*****700 • 2022-03-24 19:53 目前我们先用这种方案调整,看后续游戏运行情况吧 158*****700 • 2022-03-24 15:40 1.8.1的版本 158*****700 • 20...
来源: Laya_社区 发布时间: 20220323
... unclepi 赞同来自: 我设置的一个 240x240的动画,代码如下_proto_.onAnimation_BirdSing = function () { this.aniBirdSing = new Laya.Animation(); this.aniBirdSing.loadAtlas("res/atlas/birdsing.json"); this.aniBirdSing.interval = 35; // 设置播放间隔(单位:毫秒) this.aniBir...
来源: Laya_社区 发布时间: 20171026
...即可,去掉判断if (this._selectedIndex !=value) __getset(0,__proto,'selectedIndex',function(){ return this._selectedIndex; },function(value){ //if (this._selectedIndex !=value){ this._selectedIndex=value; ...
来源: Laya_社区 发布时间: 20180507