Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
- Добавил новую систему настроек, возможности:
- Динамически создает список настроек
- Сохраняет настройки в JSON-файл
- Возможность группировать настройки
- Широкие возможности по кастомизации
- Применение настроек в реальном времени (частично)
- Добавил префабы для новых элементов настроек
- Изменил поведение игры исходя из нового формата настроек
186 lines
5.4 KiB
Plaintext
186 lines
5.4 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: e990a23dd7f692842827a7b9adce645c, type: 3}
|
|
m_Name: MainSettingsDatabase
|
|
m_EditorClassIdentifier: Assembly-CSharp::RR.Common.Settings.SettingsDatabase
|
|
entries:
|
|
- key: volume.music
|
|
displayName: "\u0413\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C \u043C\u0443\u0437\u044B\u043A\u0438"
|
|
description:
|
|
group: "\u041C\u0443\u0437\u044B\u043A\u0430 \u0438 \u0437\u0432\u0443\u043A\u0438"
|
|
valueType: 2
|
|
defaultBool: 0
|
|
defaultInt: 0
|
|
defaultFloat: 0
|
|
defaultString:
|
|
minInt: 0
|
|
maxInt: 0
|
|
minFloat: 0
|
|
maxFloat: 1
|
|
applyTarget: 1
|
|
mixer: {fileID: 24100000, guid: 4f44de6a220ee7d4b8179285074ead2d, type: 2}
|
|
mixerParameter: MusicVolume
|
|
minDb: -80
|
|
maxDb: 0
|
|
buttonText:
|
|
buttonData:
|
|
buttonColor: {r: 0, g: 0, b: 0, a: 0}
|
|
buttonSprite: {fileID: 0}
|
|
options: []
|
|
defaultOptionIndex: 0
|
|
- key: volume.sounds
|
|
displayName: "\u0413\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C \u0437\u0432\u0443\u043A\u043E\u0432"
|
|
description:
|
|
group: "\u041C\u0443\u0437\u044B\u043A\u0430 \u0438 \u0437\u0432\u0443\u043A\u0438"
|
|
valueType: 2
|
|
defaultBool: 0
|
|
defaultInt: 0
|
|
defaultFloat: 0
|
|
defaultString:
|
|
minInt: 0
|
|
maxInt: 0
|
|
minFloat: 0
|
|
maxFloat: 1
|
|
applyTarget: 1
|
|
mixer: {fileID: 24100000, guid: 4f44de6a220ee7d4b8179285074ead2d, type: 2}
|
|
mixerParameter: SFXVolume
|
|
minDb: -80
|
|
maxDb: 0
|
|
buttonText:
|
|
buttonData:
|
|
buttonColor: {r: 0, g: 0, b: 0, a: 0}
|
|
buttonSprite: {fileID: 0}
|
|
options: []
|
|
defaultOptionIndex: 0
|
|
- key: payment.freeGame
|
|
displayName: "\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u0430\u044F \u0438\u0433\u0440\u0430"
|
|
description:
|
|
group: "\u041E\u043F\u043B\u0430\u0442\u0430 \u0438 \u0441\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C"
|
|
valueType: 0
|
|
defaultBool: 0
|
|
defaultInt: 0
|
|
defaultFloat: 0
|
|
defaultString:
|
|
minInt: 0
|
|
maxInt: 0
|
|
minFloat: 0
|
|
maxFloat: 1
|
|
applyTarget: 0
|
|
mixer: {fileID: 24100000, guid: 4f44de6a220ee7d4b8179285074ead2d, type: 2}
|
|
mixerParameter: SFXVolume
|
|
minDb: -80
|
|
maxDb: 0
|
|
buttonText:
|
|
buttonData:
|
|
buttonColor: {r: 0, g: 0, b: 0, a: 0}
|
|
buttonSprite: {fileID: 0}
|
|
options: []
|
|
defaultOptionIndex: 0
|
|
- key: payment.smallPrize
|
|
displayName: "\u0412\u044B\u0434\u0430\u0432\u0430\u0442\u044C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0439
|
|
\u043F\u0440\u0438\u0437"
|
|
description:
|
|
group: "\u041F\u0440\u0438\u0437\u044B \u0438 \u0432\u044B\u0434\u0430\u0447\u0430"
|
|
valueType: 0
|
|
defaultBool: 0
|
|
defaultInt: 0
|
|
defaultFloat: 0
|
|
defaultString:
|
|
minInt: 0
|
|
maxInt: 0
|
|
minFloat: 0
|
|
maxFloat: 1
|
|
applyTarget: 0
|
|
mixer: {fileID: 24100000, guid: 4f44de6a220ee7d4b8179285074ead2d, type: 2}
|
|
mixerParameter: SFXVolume
|
|
minDb: -80
|
|
maxDb: 0
|
|
buttonText:
|
|
buttonData:
|
|
buttonColor: {r: 0, g: 0, b: 0, a: 0}
|
|
buttonSprite: {fileID: 0}
|
|
options: []
|
|
defaultOptionIndex: 0
|
|
- key: gameplay.startLives
|
|
displayName: "\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0435 \u0436\u0438\u0437\u043D\u0438"
|
|
description:
|
|
group: "\u0418\u0433\u0440\u043E\u0432\u043E\u0439 \u043F\u0440\u043E\u0446\u0435\u0441\u0441"
|
|
valueType: 1
|
|
defaultBool: 0
|
|
defaultInt: 3
|
|
defaultFloat: 0
|
|
defaultString:
|
|
minInt: 1
|
|
maxInt: 20
|
|
minFloat: 0
|
|
maxFloat: 1
|
|
applyTarget: 0
|
|
mixer: {fileID: 24100000, guid: 4f44de6a220ee7d4b8179285074ead2d, type: 2}
|
|
mixerParameter: SFXVolume
|
|
minDb: -80
|
|
maxDb: 0
|
|
buttonText:
|
|
buttonData:
|
|
buttonColor: {r: 0, g: 0, b: 0, a: 0}
|
|
buttonSprite: {fileID: 0}
|
|
options: []
|
|
defaultOptionIndex: 0
|
|
- key: gameplay.additionalLives
|
|
displayName: "\u0416\u0438\u0437\u043D\u0438 \u0437\u0430 \u0434\u043E\u043F.
|
|
\u043C\u043E\u043D\u0435\u0442\u044B"
|
|
description:
|
|
group: "\u0418\u0433\u0440\u043E\u0432\u043E\u0439 \u043F\u0440\u043E\u0446\u0435\u0441\u0441"
|
|
valueType: 1
|
|
defaultBool: 0
|
|
defaultInt: 1
|
|
defaultFloat: 0
|
|
defaultString:
|
|
minInt: 0
|
|
maxInt: 20
|
|
minFloat: 0
|
|
maxFloat: 1
|
|
applyTarget: 0
|
|
mixer: {fileID: 24100000, guid: 4f44de6a220ee7d4b8179285074ead2d, type: 2}
|
|
mixerParameter: SFXVolume
|
|
minDb: -80
|
|
maxDb: 0
|
|
buttonText:
|
|
buttonData:
|
|
buttonColor: {r: 0, g: 0, b: 0, a: 0}
|
|
buttonSprite: {fileID: 0}
|
|
options: []
|
|
defaultOptionIndex: 0
|
|
- key: btn.statistics
|
|
displayName: "\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430"
|
|
description:
|
|
group: "\u041E\u043F\u043B\u0430\u0442\u0430 \u0438 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430"
|
|
valueType: 4
|
|
defaultBool: 0
|
|
defaultInt: 1
|
|
defaultFloat: 0
|
|
defaultString:
|
|
minInt: 0
|
|
maxInt: 20
|
|
minFloat: 0
|
|
maxFloat: 1
|
|
applyTarget: 0
|
|
mixer: {fileID: 24100000, guid: 4f44de6a220ee7d4b8179285074ead2d, type: 2}
|
|
mixerParameter: SFXVolume
|
|
minDb: -80
|
|
maxDb: 0
|
|
buttonText: "\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430"
|
|
buttonData:
|
|
buttonColor: {r: 0.8490566, g: 0.40749258, b: 0.13216448, a: 1}
|
|
buttonSprite: {fileID: 0}
|
|
options: []
|
|
defaultOptionIndex: 0
|