mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-16 21:08:28 +00:00
load some settings on start
This commit is contained in:
parent
ae5dc1f0e1
commit
90bb9ccb15
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@ namespace SanAndreasUnity.Settings {
|
|||
isAvailable = () => PedManager.Instance != null,
|
||||
getValue = () => PedManager.Instance.pedTurnSpeed,
|
||||
setValue = (value) => { PedManager.Instance.pedTurnSpeed = value; },
|
||||
persistType = OptionsWindow.InputPersistType.OnStart,
|
||||
};
|
||||
OptionsWindow.FloatInput m_enterVehicleRadiusInput = new OptionsWindow.FloatInput() {
|
||||
description = "Enter vehicle radius",
|
||||
|
@ -22,6 +23,7 @@ namespace SanAndreasUnity.Settings {
|
|||
isAvailable = () => PedManager.Instance != null,
|
||||
getValue = () => PedManager.Instance.enterVehicleRadius,
|
||||
setValue = (value) => { PedManager.Instance.enterVehicleRadius = value; },
|
||||
persistType = OptionsWindow.InputPersistType.OnStart,
|
||||
};
|
||||
|
||||
OptionsWindow.BoolInput m_showSpeedometerInput = new OptionsWindow.BoolInput() {
|
||||
|
@ -29,6 +31,7 @@ namespace SanAndreasUnity.Settings {
|
|||
isAvailable = () => PedManager.Instance != null,
|
||||
getValue = () => PedManager.Instance.showPedSpeedometer,
|
||||
setValue = (value) => { PedManager.Instance.showPedSpeedometer = value; },
|
||||
persistType = OptionsWindow.InputPersistType.OnStart,
|
||||
};
|
||||
OptionsWindow.FloatInput m_mouseSensitivityXInput = new OptionsWindow.FloatInput() {
|
||||
description = "Mouse sensitivity x",
|
||||
|
|
Loading…
Add table
Reference in a new issue