系统设置模块
更新时间:2024-09-24
开放部分系统功能设置,用户可以开关和调节不同模块的效果。
1.整体介绍


2. 主要功能对应数资及脚本
| 脚本或dll | 端 | Prefab | 说明 | 功能示意图 |
|---|---|---|---|---|
| Baidu.Meta.MCK.Settings.SettingsWindow | PC,Mobile ,VR | SettingsWindow.prefab | 设置面板 | ![]() |
| Baidu.Meta.MCK.Settings.EffectSettingWindow | PC,Mobile ,VR | EffectSettingWindow.prefab | 效果设置面板 | ![]() |
3. 客户端接口
代码:Baidu.Meta.MCK.Settings.ISettingsService
| 接口 | 参数 | 返回 | 说明 |
|---|---|---|---|
| Init | userAgreementURL : string privacyAgreementURL : string feedbackURL : string | void | 设置模块初始化 |
| Open | type : OpenTypeonOpen : Action | void | 打开设置面板 |
| Close | destroy : bool | void | 关闭设置面板 |
| HasLoad | void | bool | 设置面板是否已被加载 |
