大约有 203 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
...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
...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
...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
...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
...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
...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
...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
...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
...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
... 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