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

大约有 458 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)

421. 在网页设定区域内播放video。 [ 51%]

...libs/modules/egret/egret.web.min.js?v=312  像代码中这样toBitmapData(this.video)转一下可以吗 laya能不能提供类似这样可以将视频转为纹理的方法,不然我们做流媒体视屏这方面的应用做不下去啊。 2016-10-14 0 2 分享 微博 QZONE 微信 为什么被折...

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

422. 通过Spine工具导出缩小了比例,游戏中显示部分节点坐标和比例出错 [ 51%]

...on();         tmpSpine.load("spineFile/6402.sk",Laya.Handler.create(this,()=>{             tmpSpine.showSkinByIndex(2);//皮肤ID:1,2             tmpSpine.play("idea",true);         }),1);         tmpSpine.x = 365;         tmpSpine.y = 500;  ...

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

423. 背景音乐来回切换报错 [ 50%]

...null         Laya.loader.load("res/dreams.mp3",Laya.Handler.create(this,function(){             dreamsSound = Laya.SoundManager.playMusic("res/dreams.mp3")         }))          let mainSound:Laya.SoundChannel = null;         this.btn_sound.on(Laya.Event.C...

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

424. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 50%]

...出报错Uncaught getUint16 error - Out of bounds 莫名其妙的报错,this.getStyle()是null 射线检测报错,outHitInfo.sprite3D=null; 问题状态 最新活动: 2018-10-25 14:42 浏览: 1159 关注: 2 人 123黄 • 2018-10-27 11:30 解决了 http://ask.layabox.com/questio ... 30656

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

425. dialog的lock属性没出现 [ 50%]

...log (1).png", "res/ui/close.png"]; Laya.loader.load(assets, Handler.create(this, onSkinLoadComplete)); } private function onSkinLoadComplete(e:*=null):void { var dialog:Dialog = new Dialog(); var bg:Image = new Image(assets[0]); dialog.addChild(bg); var button:Button = new Button(assets[1]); button....

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

426. Uncaught Can not find class EffectAnimation undefined [ 50%]

...tBitmapData Cannot find the specified character in all fonts:263c Warning!,this class[MiniAdpter] already exist: Object {init: } 2.0.0编译报错Cannot find global type 'Array' 构建app后导入AS报错Could not find com.android.tools.build:gradle:3.1.2. 问题状态 最新活动: 2019-02-13 11:25...

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

427. LAYABOX游戏实时语音之APP版本 [ 49%]

....getInstance().uninit(); } public void login( final String userId){ that = this;//反射需要指定的对像,在抛到主线程后this的对像不一样了,先把他用that存这,如果你们有更好的办法可以说下,我是临时用两天时间边学边做,不太懂JAVA(PS:压根...

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

428. textinput(type=password)手机打开华为安全键盘后,无法关闭(官网的例子) [ 49%]

...s/ui/input (4).png"];         Laya.loader.load(skins, Handler.create(this, onLoadComplete)); //加载资源。     })();     function onLoadComplete()     {         for (var i = 0; i < skins.length; ++i)         {             var input = createInput(skins[i]); ...

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

429. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 49%]

.../PangZi-Take 001.lani",]; Laya.loader.create(resource, Laya.Handler.create(this, this.onPreLoadFinish)); } onPreLoadFinish() { //初始化3D场景 _scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/TerrainScene/XunLongShi.ls")); //获取相机 var camera = _scene.getChildByName("M...

来源: Laya2.0_文档 发布时间: 20210715

430. Laya2.0版本linkSprite3DToAvatarNode无法正常使用了,因为新插件导出的动画没有avatar文件了,导致挂载不上 [ 48%]

...priteToAnimationNode=function(sprite,nodeName,isLink){         if (this._avatar){ 这一步必须要有 avatar 文件,但是用新的2.0插件导出的角色不带avatar文件导致无法挂载,可在GameUI.ts 41行下断点调试进入查看。   var actor = Laya.Loader.getRes("res/Lay...

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