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

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

471. laya2.12的input在安卓不起作用还报错 [ 60%]

...用来做测试的功能,不着急解决的let input = new Laya.Input() this.changeIDBtn.displayObject.addChild(input) input.y = -200; input.x = -200; input.text = 2000 + "" 附件 : --> 2021-12-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

472. 执行回调函数时报is not a function [ 60%]

...但是回调回来执行getRolesBack的时候,loadCreateRole()报错:this.loadCreateRole is not a function。 回调函数里的函数执行不了吗?求解决办法。//Main.as private function loadRoles():void {     SocketProxy.instance.setRoleCall(getRolesBack); } protected function getR...

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

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

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

474. [LayaAir3]spine显示不对 [ 60%]

...nable(): void { Laya.loader.load("swk/zhujue_wk.skel", Laya.Handler.create(this, () => { this.owner.getComponent(Laya.Spine2DRenderNode).changeNormal(); })); }   2024-10-10 0 1 分享 微博 QZONE 微信 layabox 赞同来自: 已记录,我们节后看一下 2024-09-30 0 0 分享 微博 QZONE ...

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

475. 如何加载一个HTML页面 [ 60%]

...自: 代码如下,可是这个页面无法显示 ,且一直报错,"This page contains the following errors:error on line 1 at column 7: internal error: detected an error in element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text  ...

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

476. 求助,屏幕旋转后滚动条没有跟随旋转 [ 59%]

...og { export class WanF extends ui.dialog.WanFUI { constructor() { super(); this.rotation = 90; this.pos(1060, 280); let panel = new Laya.Panel(); panel.size(638, 527); panel.vScrollBarSkin = "CommDialog/vscroll.png"; this.sp_wanfa.addChild(panel); let t = new Laya.Label(); t.width = 638; t.fontSize ...

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

477. laya图片路径问题 [ 59%]

...ublic/test/img/food/f9.png", ];    Laya.loader.load(urls, Handler.create(this, onAssetLoaded), Handler.create(this, onLoading, null, false), Loader.TEXT);   这个样能加载。 但是 var roleAni = new Laya.Animation();  roleAni.loadImages();  roleAni.play();  Laya.stage.addChild(roleAni); ...

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

478. 每帧执行函数 [ 59%]

...关的链接 提交 1 个回复 yung 赞同来自: Laya.timer.frameLoop(1,this,onLoop); 2018-05-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 135*****194 相关问题 dialog 自定义关闭效果,效果执行完,弹窗无法关...

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

479. 内存释放问题 [ 59%]

...TEXT } // 协议文件 ]; Laya.loader.load(uiResArray, Laya.Handler.create(this, onCompleted), Laya.Handler.create(this, ProgressPanel.showGameLoadingProgressPanel, null, false)); } /** * 显示一个模块面板 * 需要 资源altlas的名称和面板的类全名 * @static * @param {string[]} resAl...

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

480. 微信小游戏IDE加载位图字体,提示错误 [ 59%]

...onLoaded=function(data){  在 var bFont=new BitmapFont(); bFont.parseFont(this._data,data);之前加入 this._data = Utils.parseXMLFromString(this._data);就ok了 2018-05-22 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zh920627 相关...

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