大约有 3,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
Laya_社区(2682) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) Laya3.0_文档(104) laya_api(98) Laya_示例(83) Laya2.0_示例(45)
...将阻止用户点击任何模态窗口后面的内容。 aWindow.modal = true; class MyWindow extends Laya.GWindow { constructor() { super(); this.modal = true; } } 当模态窗口显示时,模态窗口背后可以自动覆盖一层灰色的颜色,这个颜色可以自定义: Laya.UIConfig2.m...
来源: Laya3.0_文档 发布时间: 20251010
...码: //初始化引擎 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
... } WebAudioSound.__loadingSound[url] = true; var request = new XMLHttpRequest(); console.log('url', url) request.open("GET", url, true); request.responseType = ...
来源: Laya_社区 发布时间: 20200107
...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
...-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
... // 使用但隐藏滚动条 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
...: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
...criptProperties;iflash=false;windowshow=false;chromerun=false;quickcompile=true;outlaya=true" PointTest.rar 2017-06-26 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sun9278888 相关问题 发起问题须知,必看!!!不按提...
来源: Laya_社区 发布时间: 20170525
...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
.../btn_new.png"); Laya.stage.addChild(ball_sprite); ball_sprite.scale(-1, 1, true); // !!! 如果屏蔽此行代码,球能正常显示 var ballOptions = { layaSprite:ball_sprite, render: { sprit...
来源: Laya_社区 发布时间: 20180621