大约有 518 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0054 秒)
...t.ERROR, this, this.printError); templet.loadAni(url); } printError(e) { console.error(e); } } //激活启动类 new Main(); 附件 : --> TEST2.zip 2022-05-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 第...
来源: Laya_社区 发布时间: 20220530
...); s.graphics.drawRect(10, 10, 580, 470, "#000000"); s.pos(0,0); console.log("=mask container=>>", s.width, s.height)//打印出是0,0 this.scrollContainer.mask = s;//scrollContainer是一个有宽高的Box,为什么打印出的s的宽高是0,0,只要设置了mask,c...
来源: Laya_社区 发布时间: 20180720
...aya.init(1280,720); //无问题 Laya.init(1280,720,Laya.WebGL);//有问题 console.log(Laya.version); var testSpriteRotation:PanelRotationTest = new PanelRotationTest(Laya.Sprite); testSpriteRotation.pos(300,260); Laya.stage.addChild(testSpriteRotation); var testPanelRotation:PanelRotationTest = new...
来源: Laya_社区 发布时间: 20170814
..."comp/skeleton/spineboy.sk"); } protected onExit() {}; private onError() { console.log("parse error"); } private parseComplete() { //从动画模板创建动画播放对象 let hero = this.templet.buildArmature(1); hero.pos(200, 0); //切换动画皮肤 hero.showSkinByIndex(0); //播放 hero.play(0,...
来源: Laya_社区 发布时间: 20180905
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 为什么有的图片打包,有的图片不打包? 如图 问题状态 最新活动: 2017-04-17 10:12 浏览: 1421 关注: 3 人
来源: Laya_社区 发布时间: 20170416
...'>HTML文本</span>"; html += "</div>"; p.innerHTML = html; console.log(p.contextHeight) } function showExternalHTML() { var p = new HTMLIframeElement(); Laya.stage.addChild(p); p.href = "../../res/html/test.html"; p.y = 200; } })(); 2017-05-16 0 0 分享 微博 QZONE 微信 cuixueyin...
来源: Laya_社区 发布时间: 20170515
...se); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.removeSelf(); return; } } else { var move1 = new Laya.Vector3(0.02, 0, 0); var move2 = new Laya.Vector3(-0.02, 0, 0); Laya.timer.once(0, null, Right); Laya.timer.once(50,...
来源: Laya_社区 发布时间: 20181017
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。...
来源: Laya_社区 发布时间: 20180603
...有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, 微信小...
来源: Laya_社区 发布时间: 20170203
...EY_DOWN,LayaSample,Test); } function Test(e){ console.log(e.keycode); } 按下按键后一直输出undefined,在入口类里面却能输出对应按键编号,是什么原因呢 2018-02-08 添加评论 免费帖 --> 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20180208