大约有 443 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
...yaSample.bb的num console.info(s); }, 1000); } } class Child{ private _num:string; public num(n:string){ this._num = n; } public shuchu(){ return this._num; } } new LayaSample(); 2018-08-05 3 0 分享 微博 QZONE 微信 手撕腊鸭 赞同来自: 138*****417 、呆到八得 、陈斌 、小卡 ...
来源: Laya_社区 发布时间: 20180729
... } //2 message UndefinedResponse { } //100001 message LoginRequest { string userId = 1; string password = 2; } //100002 message LoginResponse { bool ok = 1; } 发消息时比较简单 let msg = msgScheme.AMsg.create({ head: msgScheme.AMsg.Head.Login_Request, loginRequest: { userId: this.Te...
来源: Laya_社区 发布时间: 20180320
...bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheAs : String 指定显示对...
来源: Laya2.0_api 发布时间: 20190513
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: Laya2.0_api 发布时间: 20190513
...是这样处理URL的: public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return originURL; } 在version.json,也就是manifest...
来源: Laya_社区 发布时间: 20180130
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用...
来源: Laya2.0_api 发布时间: 20190513
... } private getGets() { var tempUrl: String = Laya.Browser.window.location.href; var u = tempUrl.split("?"); var gets: Object = {}; if (u[1]) { u = u[1].split("&"); ...
来源: Laya_社区 发布时间: 20181208
...Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in la...
来源: Laya3.0_api 发布时间: 20231115
...mber, y:Number, width:Number, height:Number, roundRadius:Number, fillColor:String, borderColor:String = null, borderWidth:Number = 0):DrawPathCmd { var paths:Array = []; paths.push(["moveTo", roundRadius, 0]); paths.push(["lineTo", width - roundRadius, 0]); paths.push(["arcTo", width, 0, width, roun...
来源: Laya_社区 发布时间: 20190117
...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Component cacheAs : String 指定显示对象是...
来源: laya_api 发布时间: 20170929