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

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

2621. [LayaAir3]如何在3D场景添加文字呢 [ 65%]

...实验了一下可以,供参考 我在 Scene2D 的 RuntimeScript 中用 this.scene3D 去访问到 UI3D, 再用 ui3d.sprite 获取 prefab 的根节点.   export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { let sprite3d: Laya.Sprite3D = this.scene3D.getChildByName("m_Sprite3D")...

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

2622. HTMLDivElement中image标签多次赋值报错 [ 65%]

...s://layaair.ldc.layabox.co ... ot%3B style="width:100;height:100" onclick="this.style.display=\'none\';" />\ <span style="color:white;font:24px Arial">paragraph 3</span>'; p.innerHTML = html; p.innerHTML = html; } })(); 附件 : --> 2018-08-08 添加评论 免费帖 --> 分享 微博 ...

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

2623. 新版版2d粒子问题?同样的代码,LayaAir IDE 2.1.0版本正常,LayaAir IDE 2.2.0beta2版本报错 [ 65%]

...LayaAir IDE 2.2.0beta2版本报错    Laya.stage.on(Laya.Event.CLICK, this, () => {             Laya.loader.load("HallAni/star.part", Laya.Handler.create(this, (settings) => {                 let Particle2D = Laya.Particle2D;                 // ...

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

2624. 发布项目的时候出现TS2663错误,是在UI编辑自动生成的文件里面,是什么原因? [ 65%]

...error TS2663: Cannot find name 'loadUI'. Did you mean the instance member 'this.loadUI'? 2018-01-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 watsonsong 赞同来自: 刚刚测试了一下,1.7.15beta里面...

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

2625. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 65%]

...{             super.createChildren();             this.createView(GameSceneuiUI.uiView);         }     }     REG("ui.GameSceneuiUI",GameSceneuiUI);     export class GameViewUI extends Laya.View {         public static  uiView:any ={"type":...

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

2626. 苹果上架直接导致账号被调查。。。 [ 65%]

...甲包了吗?   苹果回复原文: Hello, We are unable to continue this app’s review because your Apple Developer Program account is currently under investigation for not following the App Store Review Guidelines’ Developer Code of Conduct. Common practices that may lead to an investigati...

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

2627. Texture2D.setPixels会导致图片质量变差了,获取原生的pixels没有进行改动。怎么回事呢? [ 65%]

...a.URL.formatURL(url); var imageSource=new Laya.Browser.window.Image(); var thisObj = this; var onload=function (){ var tex=new Laya.Texture2D(imageSource.width,imageSource.height,1,false,true); tex.wrapModeU=1; tex.wrapModeV=1; tex.loadImageSource(imageSource,true); tex._setCreateURL(url); var tex2=...

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

2628. iPhone6 ios 8.3系统 最新的QQ 锁屏再解锁 游戏闪退 [ 65%]

...藏")); isStopLoop = e.hidden; if (e.hidden) { _isVisibility = false; if (_this._isInputting()) Input["inputElement"].target.focus = false; } else { _isVisibility = true; } _this.event(Event.VISIBILITY_CHANGE); });     public static var isStopLoop:Boolean = false; /**@private */ public function _l...

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

2629. 物理系统之ConfigurableConstraint(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 65%]

...约束,为约束绑定两个刚体 ```typescript var boxA:MeshSprite3D = this.addRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSprite3D = this.addRigidBodyBox(new Vec...

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

2630. 微信小游戏提审后,提示说代码侵权 [ 65%]

...phpContent.replace(regExp0, "private " + name2s); var regExp = new RegExp("this."+name + "\\(", 'gi'); phpContent = phpContent.replace(regExp, "this." + name2s); regExp = new RegExp("this."+name + "\\," , 'gi'); phpContent = phpContent.replace(regExp, "this." + name2 + ","); regExp = new RegExp("thi...

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