大约有 1,651 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0055 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(67) Laya_示例(58) Laya2.0_示例(54)
...吗? shiyang • 2019-11-11 16:55 Laya.URL.customFormat = function(url:string) { var list:Array<string> = Laya["VVMiniAdapter"].nativefiles for(var i:number=0;i<list.length;i++) { if(url.indexOf(list[i]) != -1) { return url; } } return ConfigManager.baseUrl + url; } BWUWB • 20...
来源: Laya_社区 发布时间: 20191111
...nnerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:st...
来源: Laya_社区 发布时间: 20170911
....text.BitmapFontUI { //给自己注册的字体起个名 private fontName: string = "diyFont"; constructor() {super();} onAwake(): void { //加载位位图字体 this.loadBitmapFont(); } /** * 实例化位图字体类,并加载位图字体 */ loadBitmapFont(): void { let bitmapFont: Laya.BitmapFon...
来源: Laya2.0_文档 发布时间: 20210715
...//iOS注意函数签名,注意与Android的不同 alert(bridge.call("testString:","hello")); alert(bridge.call("testNumber:",256.0)); alert(bridge.call("testBool:",false)); obj.value = "Hello OC!"; bridge.callWithBack(function(value: any) { var obj = JSON.parse(value) alert(obj.value); },"testAsyn...
来源: Laya3.0_文档 发布时间: 20250422
... present in the dictionary. System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniDa...
来源: Laya_社区 发布时间: 20180205
LayaAir中字符串转xml 原Flash中直接通过XML()可强制转换String为XML,现在LayaAir中是否有类似的方法呢? 2017-02-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自...
来源: Laya_社区 发布时间: 20170215
...2Array, indices:Uint16Array, matrix:Matrix = null, alpha:number = 1, color:string = null, blendMode:string = null)这个问题下一版会修改。 2019-07-05 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 王...
来源: Laya_社区 发布时间: 20190704
...数,如何传递和接收? once () method public function once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知,此侦听事件响应一次后自动移...
来源: Laya_社区 发布时间: 20180304
...ublic static function encodeByte(byte:ByteEx, start:int = 0, end:int = -1):String { if (end < 0) { end = byte.length; } return encode(byte.buffer.slice(s...
来源: Laya_社区 发布时间: 20190117
....chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:string) { le...
来源: Laya_社区 发布时间: 20170911