大约有 1,869 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0056 秒)
Laya_社区(616) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(70) Laya2.0_示例(68)
...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
...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
...示也会恢复正常。 游戏参数: 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
...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
...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
...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
...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
...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
...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
... 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