大约有 60 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
...):Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { return this.md5(str); } split(target: string | any[], step: number, markString: boolean = typeof target === "string") { if (typeof target === "string") target = target.split(""); let result: any[] = target.ma...
来源: Laya_社区 发布时间: 20190321
...a{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIENT_TYPE:string = 'js-websocket'; private JS_WS_CLI...
来源: Laya_社区 发布时间: 20180119
...dex was outside the bounds of the array. p.a (UnityEngine.Mesh A_0, System.String A_1, System.Boolean A_2) (at <fb4f7e057e8e4883a548262c8679c156>:0) p.c () (at <fb4f7e057e8e4883a548262c8679c156>:0) p.b (System.String A_0) (at <fb4f7e057e8e4883a548262c8679c156>:0) LayaAir3D.exportRe...
来源: Laya_社区 发布时间: 20191113
为什么字符串不能连接? private getRandomColor():String { let arr:Array<String>=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"]; let str:String="#"; for(let i:number=0;i<6;i++){ let index:number=arr.length*Math.random(); str+=arr[index];//在IDE里面这句报...
来源: Laya_社区 发布时间: 20171118
...ew coolDownShader(); constructor() { var vs: string = " \ attribute vec2 position; \ attribute vec2 texcoord; \ attribute vec4 color; \ uniform vec2 size; \ uniform mat4 mmat; \ ...
来源: Laya_社区 发布时间: 20170606
...r socket:Socket=null; private var list:Array=; public function Connect(url:String):void { socket=new Socket(); socket.on(Event.OPEN, this, onSocketOpen); socket.on(Event.CLOSE, this, onSocketClose); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Event.ERROR, this, onConnectError); sock...
来源: Laya_社区 发布时间: 20170724
...、Text:语言包的使用形同虚设: public function set text(value:String):void { if (this._text !== value) { var a:Array = (value + "").split("|"); var p:Array; if(a.length > 1){ p = a.slice(1); lang(a[0],p); }else if(a.length == 1){ lang(a[0]); }else { lang(""); } isChanged = true; even...
来源: Laya_社区 发布时间: 20180820
... private var m_mapLayer:Sprite; private var m_MapImgUrl:String; private var m_Role:Animation; private var m_RolePosition:Point = new Point(1200,1000); private var m_MovStartPos:Point = new Point(); private var m_MovDistanceX:i...
来源: Laya_社区 发布时间: 20170921
...age.Login.Password: got wiretype 7, want 2 message Login{//用户登录 string nickName = 1; string password = 2; } 2018-03-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 darren 相关问题 TypeScript下HttpRequest发送Post请...
来源: Laya_社区 发布时间: 20180328
...没留下…… **/ interface ITextFormat { /** * 背景色 */ bgColor?: string; /** * 是否加粗 */ bold?: number; /** * 文本框背景色 */ borderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 是否为斜体 ...
来源: Laya_社区 发布时间: 20171226