大约有 2,767 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0078 秒)
Laya_社区(1624) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(65) Laya2.0_示例(16) Laya_示例(11)
...(toggle === false && _selected) return; if (e.type === Event.CLICK) { toggle && (selected = !_selected); _clickHandler && _clickHandler.run(); return; ...
来源: Laya_社区 发布时间: 20170926
...写的 Dialog 报错? var LoadResource = function () { LoadResource.prototype.init = function () { this._container = new Sprite(); Laya.stage.addChild(this._container); Laya.loader.load(["../bin/res/ui/progressBar.png", "../bin/res/ui/progressBar$bar.png"], Handler.create(this, this.onPreloaded));...
来源: Laya_社区 发布时间: 20200924
... 释放unity导入的骨骼动画模型时报错 laya.d3.js:41972 Uncaught TypeError: Cannot read property 'off' of null at SkinnedMeshRenderer.__proto._destroy (laya.d3.js:41972) at SkinnedMeshSprite3D.__proto.destroy (laya.d3.js:34884) at SkinnedMeshSprite3D.__proto.destroy (laya...
来源: Laya_社区 发布时间: 20191015
...XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObj...
来源: Laya2.0_文档 发布时间: 20210715
...的播放速度了!/** * 角色创建 */ public function init(interval,type:String,hp:Number,speed:Number,hitRadius:Number,camp:Number,heroType:Number = 0):void { //初始化属性 this.type = type; this.hp = hp; this.speed = speed; this.hitRadius = hitRadius; this.camp = camp; this.heroType = her...
来源: Laya_社区 发布时间: 20170420
...nable addEffect clearEffect getEffect removeEffect Legend Class Class with type parameter Constructor Method Accessor Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: laya_api 发布时间: 20170929
...getJSON removeItem setItem setJSON Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Lay...
来源: laya_api 发布时间: 20170422
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: laya_api 发布时间: 20170929