大约有 2,110 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0153 秒)
...ed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage ...
来源: Laya3.0_api 发布时间: 20231115
...g-core\node_modules\vscode-debugadapter\lib\protocol.js:104:38) at Socket.<anonymous> (c:\Program Files (x86)\LayaBox\LayaAirIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\node_modules\vscode-debugadapter\lib\protocol.js:24:60) at emitOne (e[...] 每次编译都...
来源: Laya_社区 发布时间: 20170330
...配置如下图, 游戏是竖屏的,在index.html里面已经设置 <meta name="laya" screenorientation="portrait" /> 在AndroidManifest.xml里面也设置了 android:screenOrientation="portrait" 资源路径用的是发布h5 release后index.html的目录,发布h5目录是 D:\layademo\mj...
来源: Laya_社区 发布时间: 20180412
...ed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage ...
来源: Laya3.0_api 发布时间: 20231115
... { var hbox: laya.ui.HBox = new laya.ui.HBox(); for (var i: number = 0; i < 10; i++) { var skin: string; switch (i) { case 0: skin = "comp/bg.png"; break; case 1: skin = "comp/blank.png"; break; case 2: skin = "comp/btn_close.png"; break; case 3: skin = "comp/button.png"; break; case 4: skin = "c...
来源: Laya_社区 发布时间: 20170607
...现在问题来了。根据代码 for (var i=0,sz=this._valueArr.length;i < sz;i++){ var index=this._indexMap[this._valueArr.charAt(i)]; if (!this.sources[index])continue ; texture=this.sources[index]; if (isHorizontal)this.graphics.drawTexture(texture,dX+i *(texture.sourceWidth+t...
来源: Laya_社区 发布时间: 20180228
...hr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 400)) { if(JSON.parse(xhr.responseText).status===1){ console.log ('登录成功') cc.director.loadScene("main") ...
来源: Laya_社区 发布时间: 20180824
...ing, length: number): any { var urls: any = []; for (var i: number = 1; i < length; i++) { //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push("imgs/role/wp116/" + aniName + i + ".png"); } return urls; } } new GameMain(); 2017-12-28 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20171228
...ed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray group height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect sizeGrid ske...
来源: Laya3.0_api 发布时间: 20231102
...-29 0 0 分享 微博 QZONE 微信 jinqi166 赞同来自: for (var i=0;i<100;i++) { var layaMonkey = scene.addChild(new Laya.MeshSprite3D(xxxx)); //加载材质 layaMonkey.meshRender.material = mat; layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation...
来源: Laya_社区 发布时间: 20180329