大约有 2,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1162) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya3.0_文档(117) Laya2.0_示例(109)
...Optional height?: number width: number Returns number[] recover recover(): void Defined in laya/display/cmd/DrawLineCmd.ts:56 回收到对象池 Returns void Globals "laya/display/cmd/DrawLineCmd" DrawLineCmd fromX fromY lineColor lineWidth percent toX toY ID getBoundPoints recover _tempPoints Legen...
来源: Laya3.0_api 发布时间: 20231115
...)); } /***加载资源完成***/ private function onLoadComplete(e:*=null):void { //实例化下拉列表 comboBox= new ComboBox(skin, "item0,item1,item2,item3,item4,item5"); //按钮标签字体大小 comboBox.labelSize = 30; //列表项标签字体大小 comboBox.itemSize = 25; //下拉列表选...
来源: Laya2.0_文档 发布时间: 20210714
...Json文件内容 { "name":"zzy" } 第一种方式 private on2DComplete(): void { Laya.loader.load("zxc.json", Laya.Handler.create(this,this. onLoadConfigComplete),null,Laya.Loader.JSON); } wayPoints:JSON; private onLoadConfigComplete(): void { this.wayPoints = Laya.loader.getRes("zxc.json") as JSON;...
来源: Laya_社区 发布时间: 20180119
...een.to(sp,{x:300,y:300,alpha:0.5},1000,null,Handler.create(this,function():void { sp.destroy(); })); Complete事件你没写错,就是那么写的 2017-06-08 0 0 分享 微博 QZONE 微信 ohkei - as3、as2、h5 赞同来自: for (var i:int = 1; i <= 2;i++ ){ var sp:Sprite=new Sprite();...
来源: Laya_社区 发布时间: 20170608
...位置的时间 Returns number Methods setPosition setPosition(pos: any): void Defined in laya/device/geolocation/GeolocationInfo.ts:9 设置设备经纬度 Parameters pos: any Returns void Globals "laya/device/geolocation/GeolocationInfo" GeolocationInfo accuracy altitude altitudeAccuracy heading l...
来源: Laya3.0_api 发布时间: 20231115
...annel:SoundChannel; protected var sound:Sound; protected function wakeUp():void { /*强迫至少保持8FPS sound = new Sound(new URLRequest("")); sound.play(); sound.close(); */ //*/强迫保持原本设定的FPS try { sound = new Sound(); sound.addEventListener(SampleDataEvent.SAMPLE_DATA,onWakeUp)...
来源: Laya_社区 发布时间: 20180627
...。 StartFrame clone():* 克隆。 StartFrame cloneTo(destObject:*):void 克隆。 StartFrame createByConstant(constant:Number):StartFrame[static] 通过随机常量旋转创建一个 StartFrame 实例。 StartFrame createByRandomTwoConstant(constantMin:Number, constantMax:Number):StartF...
来源: laya_api 发布时间: 20170929
...。 StartFrame clone():* 克隆。 StartFrame cloneTo(destObject:*):void 克隆。 StartFrame createByConstant(constant:Number):StartFrame[static] 通过随机常量旋转创建一个 StartFrame 实例。 StartFrame createByRandomTwoConstant(constantMin:Number, constantMax:Number):StartF...
来源: Laya2.0_api 发布时间: 20190513
....LIVE_DOLL); } init( box: GunBox, doll_item: DollItem, doll_area: Area ):void { // if(!this._body_ani) // { // this._body_ani = new Laya.Animation(); // this.addChild(this._body_ani); // } // this._body_ani.play(0, true, doll_item.animation_name); this._box = box; this._fly_site.w = this._box....
来源: Laya_社区 发布时间: 20180515
...Optional height?: number width: number Returns number[] recover recover(): void Defined in laya/display/cmd/DrawCircleCmd.ts:57 回收到对象池 Returns void Globals "laya/display/cmd/DrawCircleCmd" DrawCircleCmd fillColor lineColor lineWidth percent radius x y ID getBoundPoints recover Legend Obj...
来源: Laya3.0_api 发布时间: 20231115