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

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

241. Laya2.2问题,有没有遇到的? [ 55%]

...onfig.screenMode = "none"; GameConfig.alignV = "top"; GameConfig.alignH = "left"; GameConfig.startScene = ""; GameConfig.sceneRoot = ""; GameConfig.debug = false; GameConfig.stat = false; GameConfig.physicsDebug = false; GameConfig.exportSceneToJson = true; GameConfig.init();  class Main { construc...

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

242. 场景(View)通过runtime挂载脚本后,通过UI编辑器设置的位置属性(bottom等)失效,必现 [ 55%]

...aleMode 为fixedwidth,通过laya2.0设置 该场景 的top、bottom、left,right 是0,场景内部随便搞个元素(比如 box),设置box 的bottom 为0,打开chrome调试,不管任何机型设备,该box元素相对该场景会一直在底部 3、通过 runtime挂载 一...

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

243. layaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta [ 55%]

....createUserInfoButton({ type: 'text', text: '获取用户信息', style: { left: 10, top: 76, width: 200, height: 40, lineHeight: 40, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, borderRadius: 4 } }) 这种利用微信接口创建的按钮对象赋值给button 的...

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

244. 用iframe内嵌网页及适配 [ 54%]

...ight = 1280 * Laya.stage.clientScaleY; var styleStr = "position: absolute; left: {0}px; top: {1}px; z-index: 100009;";//laya 的index是100000 var str = styleStr.format((laya.utils.Browser.width - frameWidth) * 0.5, (laya.utils.Browser.height - frameHeight) * 0.5); this.iframe.setAttribute('width', ...

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

245. laya.ui.WXOpenDataViewer_API3.0 [ 54%]

...tion 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 staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder M...

来源: Laya3.0_api 发布时间: 20231102

246. Laya自适应的问题,pc上面自己实现自适应,是bug还是我写的不对呢,,, [ 54%]

...aya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.alignH = Stage.ALIGN_LEFT; Laya.stage.alignV = Stage.ALIGN_TOP; Laya.stage.screenMode = Stage.SCREEN_NONE;   我们自己根据界面的宽高和浏览器的宽高去实现自适应,,, 现在问题是,窗口化打开游戏, 然后在...

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

247. laya.ui.ScaleBox_API3.0 [ 53%]

...tion 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 staticCache texture timer toolTip top transform url viewport visible width x y zOrder Metho...

来源: Laya3.0_api 发布时间: 20231115

248. laya.ui.Box_API3.0 [ 53%]

...tion 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 staticCache texture timer toolTip top transform url viewport visible width x y zOrder Metho...

来源: Laya3.0_api 发布时间: 20231115

249. laya.ui.OpenDataContextView_API3.0 [ 53%]

...tion 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 staticCache texture timer toolTip top transform url viewport visible width x y zOrder Metho...

来源: Laya3.0_api 发布时间: 20231115

250. laya.ui.Panel_API3.0 [ 53%]

...aleY graphics gray hScrollBar hScrollBarSkin height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect scrollType skewX skewY stage staticCache texture timer toolTip top transform url vScrollBar vScrollBarSkin vi...

来源: Laya3.0_api 发布时间: 20231115