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

大约有 1,869 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0056 秒)

1351. 动画不显示 [ 65%]

...e var m_IsMoving:Boolean = false;         private var m_MovStartTime:Number = 0;         private var m_MovNeedMs:Number = 0 ;          private var m_speed:Number = 150; //每秒移动像素         private var m_curdirection:int = 0 ;         private var m_curaniname:S...

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

1352. matter.js mouseconstraint在微信小游戏中无效 [ 65%]

...parseInt(this.style.fontSize, 10) * this.innerHTML.length;      return Number.isNaN(ret) ? this.width : ret;      }      }, {      key: 'clientHeight',      get: function get() {      var ret = parseInt(this.style.fontSize, 10);      return Number.isNaN(ret) ? this.height...

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

1353. (有demo)2d和3d结合,正交相机下,ui节点显示错位,与预期不符,且舞台不刷新 [ 65%]

...示也会恢复正常。 游戏参数: GameConfig{     static width:number=750;     static height:number=1334;     static scaleMode:string="showall";     static screenMode:string="vertical";     static alignV:string="middle";     static alignH:string="center"; } windo...

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

1354. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 65%]

...rticleShuriKen/module/shape/BaseShape.ts:26 是否启用。 radius radius: number Defined in laya/d3/core/particleShuriKen/module/shape/SphereShape.ts:12 发射器半径。 randomDirection randomDirection: number = 0 Inherited from BaseShape.randomDirection Defined in laya/d3/core/particleShuriKen/m...

来源: Laya3.0_api 发布时间: 20231115

1355. laya.d3.core.particleshuriken.module.shape.HemisphereShape_API3.0 [ 65%]

...rticleShuriKen/module/shape/BaseShape.ts:26 是否启用。 radius radius: number Defined in laya/d3/core/particleShuriKen/module/shape/HemisphereShape.ts:13 发射器半径。 randomDirection randomDirection: number = 0 Inherited from BaseShape.randomDirection Defined in laya/d3/core/particleShuriK...

来源: Laya3.0_api 发布时间: 20231115

1356. tab 是否可以做到左右滑动切换view呢? [ 64%]

...is, this.onMouseUp);              }     private onMouseDownX : number;     private onMouseDownY : number;     private isMove : boolean ;     onMouseDown(e : laya.events.Event):void{         console.log("MOUSE_DOWN");         this.on(laya.events.Event.MOUSE_MOVE ,this...

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

1357. 音频-播放演示 [ 64%]

...tage.bgColor = "#232628"; this.setup(); } private setup(): void { var gap: number = 10; //创建一个Sprite充当音效播放按钮 var soundButton: Sprite = this.createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height -...

来源: Laya2.0_示例 发布时间: 20260106

1358. 音频-播放演示 [ 64%]

...tage.bgColor = "#232628"; this.setup(); } private setup(): void { var gap: number = 10; //创建一个Sprite充当音效播放按钮 var soundButton: Sprite = this.createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height -...

来源: Laya_示例 发布时间: 20260106

1359. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 64%]

...operties : [ { name : "text", type : "string" }, { name : "count" , type: "number" }, { name : "actions", inspector: "Buttons", options : { buttons : [ { caption : "点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以...

来源: Laya3.0_文档 发布时间: 20251010

1360. exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764 [ 64%]

... let blueFnt = new Laya.BitmapFont();         blueFnt.loadFont("common/number_blue.fnt", new Handler(this, () => {             Laya.Text.registerBitmapFont("number_blue", blueFnt);         })); 但具体原因不清楚 能否请官方测试下bmfont在iphone上运行情况     201...

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