大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0090 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...、说找不到图片 代码 : Laya.loader.load([{url: "comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); function onLoaded(){ var aa = new Sprite(); Laya.stage.addChild(aa); var texture = new Laya.Texture(); texture.load('comp/zzw.png' ); setTime...
来源: Laya_社区 发布时间: 20171226
...addWheel getNumWheels getWheelInfo btVehicleTuning Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ompile contatins getByIndex remove Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231102
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 default false 不可穿透,此对象的鼠标响应区域由width、height、hitArea属性决定。 name name: string = "" Inherited from Node.name Defined in laya/...
来源: 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] 返回鼠标在此对象坐标系...
来源: Laya2.0_api 发布时间: 20190513
...的播放速度了!/** * 角色创建 */ 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
...调参数,如何传递和接收? once () method public function once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知,此侦听事件响应一次后自...
来源: Laya_社区 发布时间: 20180304
...在场景中调用它? firstDialog.scene的内容如下: { "x":0, "type":"Dialog", "selectedBox":1, "selecteID":3, "props":{"width":640,"sceneColor":"#000000","height":480}, "nodeParent":-1, "label":"Dialog", "isOpen":true, "isDirectory":true, "isAniNode":true, "hasChild":true, "compId":1, "ch...
来源: Laya_社区 发布时间: 20190109
...*__JS__ */wx.postMessage({url:url,data:tempData,isLoad:"filedata"}); 添加type的判断,不是XML则执行 if (type != "xml") { /*__JS__ */wx.postMessage({url:url,data:tempData,isLoad:"filedata"}); } 附件 : --> js.rar 2018-...
来源: Laya_社区 发布时间: 20180615
...使用的哪个Shader为什么不是保存在材质lmat文件里面? { "type":"Laya.StandardMaterial", "path":"Assets/ArenaScene/Materials/t0201.lmat" },现在一个材质使用的哪个Shader是作为type保存在使用这个lmat文件的地方,这样设计的目的是什么? 如果我有一...
来源: Laya_社区 发布时间: 20180223