• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 28 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0047 秒)

1. ts加密md5码封装 [ 100%]

...):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

2. socket大型项目回调 [ 92%]

...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

3. 字节平台(抖音预览调试),因为一行代码导致无法启动问题 [ 84%]

...(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

4. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 84%]

...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

5. bind函数的作用 [ 80%]

...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

6. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 77%]

...      private mDecorate:Decorate;//装饰器         private mHost: string;         private mPort: number;         private mConnected: boolean;         /** 开启*/         public static OPEN: string = "open";         /** 关闭*/         public static CLOSE: string = ...

来源: Laya_社区 发布时间: 20161109

7. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 76%]

...出现闪烁   试过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

8. 粒子动画一直报错uncaught shader error [ 74%]

粒子动画一直报错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

9. MissingMethodException: Method not found: 'UnityEngine.LightmapData.get_lightmapColor'. [ 74%]

...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

10. animate 动画播放 怎么把攻击 开火 合起来播放 [ 73%]

...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