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

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

161. 启用版本管理后,加载的资源很奇怪的在正确的路径后面又加了一次路径 [ 68%]

...oto", "protos/gm.proto", "protos/samplegame.proto", ];   Laya.loader.load(this._proto_files,Laya.Handler.create(this,this.OnProtoLoaded),null, Laya.Loader.TEXT);     打包的时候在release/web下面有了protos/loginxxxxxxxx.proto这样的文件 然后运行的时候,报了这样的错 GET h...

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

162. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 68%]

...ap: Object;//字体样式映射 static get instance(): StyleManager { if (!this._instance) { this._instance = new StyleManager(); } return this._instance; } constructor() { } /** * 解析字体样式 * @param {Object} obj */ parseStyle(obj: Object) { this._styleMap = obj; } /** * 根据key找到字...

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

163. 获取相机renderTexture 作为阴影 的UV [ 68%]

...gb);    ts代码设置u_ShadowMapTex     onUpdate(){         this.ShadowCamera.transform.lookAt(new Vector3(0,0,0), new Vector3(0,1,0), false);         let v:Matrix4x4 = this.ShadowCamera.viewMatrix;         let p:Matrix4x4 = this.ShadowCamera.projectionMatrix...

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

164. 打包安卓Android studio黑屏 [ 68%]

...HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach th...

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

165. 火狐浏览器上webgl异常 [ 67%]

...en initialized prior to a partial upload, forcing the browser to clear it. This may be slow. async.race.0._hash.e3a9c451.js%20line%20297%20%3E%20eval:4:30925 Error: WebGL: texSubImage2D: This operation requires zeroing texture data. This is slow. 如题 这可能是什么引起的? 2017-11-20 添...

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

166. 动画状态机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

...index: number, playstate: Laya.AnimatorState | Laya.AnimatorState2D) { ... this.model = animator.owner as Laya.Sprite3D;//得到Cube节点 } ... /** * 动画状态退出时执行。 */ onStateExit(): void { console.log("动画退出了"); //平移操作 let position = new Vector3(1, 1, 1); this.mode...

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

167. 关于LAYA TS重写X和Y坐标的问题 [ 67%]

...YA TS 里这么写 class XXX extends Sprite { public set x(value:number) { this._x = value; } public get x():number { return this._x; } } 这样写在WEB环境下固然可行 但是却会导致打包坐标不生效 而在AS3就不一样了 可以直接super.x 希望官方能解决,当然也有代...

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

168. EventDispatcher接收不到参数 [ 66%]

...ar Dispatcher = (function(_super){ function Dispatcher(){ Dispatcher.super(this); }; //注册类 Laya.class(Dispatcher,"Dispatcher",_super); //实例EventDispatcher类 Dispatcher.eventDispatcher = new Laya.EventDispatcher(); //发送事件 Dispatcher.Emit = function(InName,agv){ //派发事件 conso...

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

169. UI-RefreshList [ 66%]

...ya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.loadingLabel = null; this.refreshList = null; /** 消息生成的当前最大id值 */ this.msgIdNow=1; /** 滚动条效果是否停止 */ this.scro...

来源: Laya2.0_示例 发布时间: 20260929

170. iOS平台,WiFi连网正常,4G下经常失败 [ 66%]

... error 看到对应代码段是: function updateDcc() { return __awaiter(this, void 0, void 0, function* () { cache.setResourceID('appurl', urlpath); var curassets = cache.getResourceID('netassetsid'); var assetsidStr = (yield asyncs.downloadSync(urlpath + 'update/assetsid.txt?rand=' + Math.random...

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