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

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

2631. 发布项目的时候出现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

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

2633. 苹果上架直接导致账号被调查。。。 [ 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

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

2635. 物理系统之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

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

2637. 微信小游戏提审后,提示说代码侵权 [ 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

2638. 3D灯光与阴影 · LayaAir3.4 · 引擎文档 · LAYABOX [ 65%]

...ya.Sprite3D(); let pointCom = pointLight.addComponent(Laya.PointLightCom); this.scene.addChild(pointLight); //点光源的颜色 pointCom.color = new Laya.Color(1.0, 0.5, 0.0, 1); //设置点光源的范围 pointCom.range = 3.0; pointLight.transform.position = new Laya.Vector3(0.0, 1, 0.0); 三、Di...

来源: Laya3.0_文档 发布时间: 20251010

2639. hitTestPrior点击穿透 [ 65%]

...phics.drawRect(0,0,300,300,"#FFFF00"); sp.size(100,100); sp.on(Event.CLICK,this,onClickSp); Laya.stage.addChild(sp); var spchild:Sprite=new Sprite(); spchild.graphics.drawRect(0,0,200,200,"#FF0000"); spchild.size(200,200); spchild.on(Event.CLICK,this,onClickSpChild); sp.addChild(spchild); } private ...

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

2640. Panel使用文档(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 65%]

...所需资源 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded)); } private onLoaded(): void { //实例化Panel组件 var panel: Laya.Panel = new Laya.Panel(); //给panel添加背景色 panel.graphics.drawRect(0, 0, 100, 100, "#ffcccc"); //给panel设置宽高 panel.si...

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