• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 494 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0037 秒)

461. IDE新建2D示例,Sprite值狂飙,Console提示 EXT:webgl support OES_vertex_array_object [ 47%]

...狂飙,哪怕是新建的示例项目。。。 laya.debugtools.js中的__proto.render有一句: Stat.spriteCount++;这令Sprite每秒涨几百上千的,也没有对应的--,不知道是啥意思。。。 2019-04-28 0 1 分享 微博 QZONE 微信 O古O冬 赞同来自: 有没有官方的说...

来源: Laya_社区 发布时间: 20190426

462. 手指点击list中的一个Item点击没反应 反复测试 发现 就是 手指稍微动一点就会点不住 手指 肯定没有鼠标精确度高 [ 46%]

...博 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

463. Laya2.0版本linkSprite3DToAvatarNode无法正常使用了,因为新插件导出的动画没有avatar文件了,导致挂载不上 [ 46%]

...插件导出的动画没有avatar文件了,导致挂载不上     __proto._isLinkSpriteToAnimationNode=function(sprite,nodeName,isLink){         if (this._avatar){ 这一步必须要有 avatar 文件,但是用新的2.0插件导出的角色不带avatar文件导致无法挂载,可在...

来源: Laya_社区 发布时间: 20191011

464. 发布微信小游戏json格式问题 [ 46%]

...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

465. unity里导出的骨骼动画无法读取 [ 46%]

... 在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

466. Node.prototype._activeHierarchy存在的bug或者说是onEnable和onAwake的坑 [ 46%]

Node.prototype._activeHierarchy存在的bug或者说是onEnable和onAwake的坑 官方源码如下: /**     *@private     */     __proto._activeHierarchy=function(activeChangeScripts){         this._setBit(/*laya.Const.ACTIVE_INHIERARCHY*/0x02,true);         if (this._...

来源: Laya_社区 发布时间: 20190730

467. 1.0版本BUG反馈-图片窜图BUG [ 45%]

...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

468. 创建动画时画布的width和height与 实例化后的ani.size(width, height) 有什么区别 [ 45%]

... 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

469. list的selectHandler属性连续点击同一个item不能重复接收事件 [ 45%]

...即可,去掉判断if (this._selectedIndex !=value)     __getset(0,__proto,'selectedIndex',function(){         return this._selectedIndex;         },function(value){         //if (this._selectedIndex !=value){             this._selectedIndex=value;     ...

来源: Laya_社区 发布时间: 20180507

470. 让 CylinderMesh 支持椎体 [ 45%]

...径大小   修改第二个循环结构, 也就是柱状顶点绘制   __proto.recreateResource=function(){ this._numberVertices=(this._slices+1+1)+(this._slices+1)*2+(this._slices+1+1); this._numberIndices=3 *this._slices+6 *this._slices+3 *this._slices; var vertexDeclaration=VertexPositionNormal...

来源: Laya_社区 发布时间: 20180113