mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 06:34:16 +00:00
persist camera settings
This commit is contained in:
parent
d96f890d02
commit
e60a5295f5
3 changed files with 5 additions and 1 deletions
|
@ -14,6 +14,7 @@ namespace SanAndreasUnity.Settings {
|
|||
maxValue = 5000,
|
||||
getValue = () => Camera.main != null ? Camera.main.farClipPlane : s_farClipPlane,
|
||||
setValue = (value) => { s_farClipPlane = value; if (Camera.main != null) Camera.main.farClipPlane = value; },
|
||||
persistType = OptionsWindow.InputPersistType.OnStart,
|
||||
};
|
||||
OptionsWindow.FloatInput m_fieldOfViewInput = new OptionsWindow.FloatInput() {
|
||||
description = "Field of view",
|
||||
|
@ -21,6 +22,7 @@ namespace SanAndreasUnity.Settings {
|
|||
maxValue = 120,
|
||||
getValue = () => Camera.main != null ? Camera.main.fieldOfView : s_fieldOfView,
|
||||
setValue = (value) => { s_fieldOfView = value; if (Camera.main != null) Camera.main.fieldOfView = value; },
|
||||
persistType = OptionsWindow.InputPersistType.OnStart,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
- display players on minimap
|
||||
|
||||
- port the whole UI to multiplayer
|
||||
|
||||
- **vehicle is bumping on clients** - disable (or destroy) wheel colliders, and sync them - this should not be done on local player, see below
|
||||
|
||||
- when exit vehicle anim is finished on client, it is repeated - change wrap mode
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
- Gravity setting failed to load on windows - instead of 9.81, it's loaded as 981
|
||||
|
||||
- Make all settings persistent
|
||||
- Camera can go through map objects
|
||||
|
||||
- Update controls window
|
||||
|
||||
|
|
Loading…
Reference in a new issue