大约有 28 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0047 秒)
...):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
...(instance instanceof Object) { var copyInstance = {...(instance as { [key: string]: any }), } as { [key: string]: any } for (var attr in instance) { if ((instance as Object).hasOwnProperty(attr)) copyInstance[attr] = GameUtils.deepCopy<any>(instance[attr]) } return copyInstance as T } return i...
来源: Laya_社区 发布时间: 20230625
...nfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static startScene:string="test/TestScene.scene"; static sceneRoot:string=""; static debug:boolean=false; static stat:boolean=false; static physicsDebug:boolean=false; stat...
来源: Laya_社区 发布时间: 20181001
...bind(this: Function, thisArg: any, ...argArray: any[]): any; /** Returns a string representation of a function. */ a15715740412 • 2018-01-30 16:31 你们lib.ts中的bind qian • 2018-01-30 16:33 能说一下是哪里的么 我看一下 a15715740412 • 2018-01-30 16:33 lib.d.ts a15715740412 • 2...
来源: Laya_社区 发布时间: 20180130
... private mDecorate:Decorate;//装饰器 private mHost: string; private mPort: number; private mConnected: boolean; /** 开启*/ public static OPEN: string = "open"; /** 关闭*/ public static CLOSE: string = ...
来源: Laya_社区 发布时间: 20161109
...出现闪烁 试过0,1,2模式都不行 //加载动画 load(aniUrl: string,emoji?:string,complete?:Handler):void{ if (emoji) { this.emoji=emoji; } if (complete) { this.completeHandler = complete; } this.aniUrl = aniUrl; this.templet = new Templet(); this.templet.on(Event.COMPLETE, this, this....
来源: Laya_社区 发布时间: 20180824
粒子动画一直报错uncaught shader error public static var vs:String = __INCLUDESTR__("files/Particle.vs"); public static var ps:String = __INCLUDESTR__("files/Particle.ps");这个2个值一直为null 2017-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20171127
...Object child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) 2018-10-29 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ༺永洹༻ 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND ani no...
来源: Laya_社区 发布时间: 20180819
...url * length 动画最后一帧的索引值, */ private aniUrls(aniName: string, length: number): any { var urls: any = []; for (var i: number = 1; i < length; i++) { //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push("imgs/role/wp116/" + aniName + i + ".png");...
来源: Laya_社区 发布时间: 20171228