大约有 4,111 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)
Laya_社区(3330) Laya2.0_文档(296) Laya_示例(141) Laya3.0_文档(118) Laya2.0_示例(117) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...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
...{ super.createChildren(); this.createView(GameSceneuiUI.uiView); } } REG("ui.GameSceneuiUI",GameSceneuiUI); export class GameViewUI extends Laya.View { public static uiView:any ={"type":...
来源: Laya_社区 发布时间: 20200228
...甲包了吗? 苹果回复原文: 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
...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
...约束,为约束绑定两个刚体 ```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
...藏")); 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
...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
...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
...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
...所需资源 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