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

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

1111. 窗口组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 66%]

...将阻止用户点击任何模态窗口后面的内容。 aWindow.modal = true; class MyWindow extends Laya.GWindow { constructor() { super(); this.modal = true; } } 当模态窗口显示时,模态窗口背后可以自动覆盖一层灰色的颜色,这个颜色可以自定义: Laya.UIConfig2.m...

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

1112. 关于3D物件半透明漫反射率(官网上的例子)的BUG。 [ 66%]

...码:             //初始化引擎         Laya3D.init(0, 0, true);         //适配模式         Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;         Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;         //添加3D场景         var scene = Laya.stage.addChild(ne...

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

1113. 如何让发布后的H5加载资源用src或href指向本地路径,而不是网络请求 [ 66%]

...     }             WebAudioSound.__loadingSound[url] = true;             var request = new XMLHttpRequest();             console.log('url', url)             request.open("GET", url, true);             request.responseType = ...

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

1114. 微信上SoundManager无法关闭背景音乐 [ 66%]

...lume(0); Laya.SoundManager.musicVolume = 0; Laya.SoundManager.musicMuted = true;   播放音乐后,关闭背景音乐的3行代码都不起作用。 测试设备1:iphone6(10.2.1)   wechat(6.5.18) 测试设备2:iphone7(11.0.1)   wechat(6.5.18)   引擎版本:1.7.8~1.7.11beta均不正常...

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

1115. Animation 使用疑问 [ 66%]

...-100; this.body.interval = 50; this.addChild(this.body); this.body.play(0, true, "hero_fly"); } private body: Laya.Animation; private onBtn2Click(): void { this.body.destroyChildren(); this.body.clear(); this.body.destroy(); } 调试面板中的sprite个DrwaCall都有变化,但是CurMern么有发...

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

1116. list 加载动画为什么实现的效果会错乱掉? [ 66%]

... // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stage.addChild(list); list.array = effList; } function updateItem(cell, index) { console.log(cell.dataSource); c...

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

1117. list点击label保留一种状态 [ 66%]

...:false }) } record_slide_list.array = data; record_slide_list.selectEnable=true; record_slide_list.selectHandler = new Handler(this, onSelect,[record_slide_list]); record_slide_list.renderHandler = new Handler(this, onRender); function onRender(item,index){ var dataIndex = data[index]; var label = i...

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

1118. as编译器1.7.5beta的问题 [ 66%]

...criptProperties;iflash=false;windowshow=false;chromerun=false;quickcompile=true;outlaya=true" PointTest.rar 2017-06-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sun9278888 相关问题 发起问题须知,必看!!!不按提...

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

1119. [LayaAir3]插件开发中,我需要选择文件夹,如何可视化选择文件夹 [ 66%]

...ath", caption: "输入目录", inspector: "File", options: { absolutePath: true, properties: ["openDirectory"] }, type: "string", }, { name: "outputPath", caption: "输出目录", inspector: "File", options: { absolutePath: true, properties: ["openDirectory"], }, type: "string", }, { name: "", inspe...

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

1120. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 66%]

.../btn_new.png"); Laya.stage.addChild(ball_sprite); ball_sprite.scale(-1, 1, true); // !!! 如果屏蔽此行代码,球能正常显示  var ballOptions = { layaSprite:ball_sprite,                 render:                 {                     sprit...

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