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

大约有 1,651 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0052 秒)

741. iPhone6 ios 8.3系统 最新的QQ 锁屏再解锁 游戏闪退 [ 75%]

...们也解决了,直接贴代码吧 // 各种浏览器兼容 var hidden:String = "hidden", state:String = "visibilityState", visibilityChange:String = "visibilitychange"; var document:* = window.document; if (typeof document.hidden !== "undefined") { visibilityChange = "visibilitychange"; state = "...

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

742. laya.d3.component.Animator_API3.0 [ 75%]

...nt.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 Static CULLINGMODE_ALWAYSANIMATE CULLINGMODE_ALWAYSANIMATE: number = 0 Defined in laya/d3/component/Animator.ts:53 裁剪模式_始终播...

来源: Laya3.0_api 发布时间: 20231102

743. 全局动画不能加载 [ 74%]

...che(this._url+"#"+name); this._isPlaying=true; this.index=((typeof start=='string'))? this._getFrameByLabel(start):start; this.loop=loop; if (this._frames && this._frames.length > 1 && this.interval > 0){ this.timerLoop(this.interval,this,this._frameLoop,null,true); } } __proto...

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

744. 之前用着好好的U3D导出插件突然不能用了,下载了新的报错,麻烦帮看下,谢谢 [ 74%]

... 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) 附件是可复现问题的U3d项...

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

745. Text.as中parseLines方法里的问题 [ 74%]

...* * @private * 分析文本换行。 */ protected function parseLines(text:String):void { //自动换行和HIDDEN都需要计算换行位置或截断位置 var needWordWrapOrTruncate:Boolean = wordWrap || this.overflow == HIDDEN; if (needWordWrapOrTruncate) { var wordWrapWidth:Number = getWordWrapWi...

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

746. 场景管理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 74%]

...) * @param progress 加载进度回调(可选) */ static open(url: string, closeOther: boolean = true, param: any = null, complete: Handler = null, progress: Handler = null): Promise<Scene> { Scene.showLoadingPage(); return Scene.load(url, Handler.create(null, this._onSceneLoaded, [close...

来源: Laya3.0_文档 发布时间: 20251010

747. 打包app,http无法设置content-type [ 74%]

...plication/x-www-form-urlencoded   代码如下: static httpRequest(method:string, url:string, data:any, headers:Array<string>, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => {...

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

748. 小游戏对读取json文件有要求吗?为啥说读取json文件错误啊 [ 74%]

...修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } 2018-01-15 0 0 分享 微博 QZONE 微信 liwenhu...

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

749. laya.utils.Color [ 74%]

...wStyle : *Color  numColor : uint uint 型颜色值。Color  strColor : String 字符串型颜色值。ColorPublic Methods  MethodDefined By  Color(str:*) 根据指定的属性值,创建一个 Color 类的实例。 Color  create(str:*):Color[static] 根据指定的属性值,创建并返...

来源: laya_api 发布时间: 20170422

750. Laya.MiniAdpter.nativefiles [ 74%]

...交 1 个回复 Laya_Aaron 赞同来自:    public static var basePath:String = "";         /**根路径。*/         public static var rootPath:String = "";   这两个都设置一下 2018-09-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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