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

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

451. [LayaNative2]IOS native打包 webview播放视频 返回后没声音 [ 51%]

...tions)}   代码如下: Laya.Browser.window["conch"].setExternalLinkEx( this.videoPlayerHtmlUrl, 0, 0, 1000, 800, true); 附件 : --> 2024-05-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠...

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

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

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

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

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

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

454. 背景音乐来回切换报错 [ 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

455. 这个怎么办 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

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

457. Uncaught Can not find class EffectAnimation undefined [ 49%]

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

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

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

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

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

460. 资源加载(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