remove "Display health bar above peds" setting

This commit is contained in:
in0finite 2021-10-19 23:46:55 +02:00
parent 5bc12124ac
commit aadb7c3d10
2 changed files with 0 additions and 8 deletions

View file

@ -42,7 +42,6 @@ namespace SanAndreasUnity.Behaviours
[Header("Health bar")] [Header("Health bar")]
public bool displayHealthBarAbovePeds = false;
public float healthBarVisibleTimeAfterDamage = 3f; public float healthBarVisibleTimeAfterDamage = 3f;
public float healthBarWorldWidth = 0.5f; public float healthBarWorldWidth = 0.5f;
public float healthBarWorldHeight = 0.1f; public float healthBarWorldHeight = 0.1f;

View file

@ -38,12 +38,6 @@ namespace SanAndreasUnity.Settings {
setValue = (value) => { Physics.gravity = new Vector3(Physics.gravity.x, -value, Physics.gravity.z); }, setValue = (value) => { Physics.gravity = new Vector3(Physics.gravity.x, -value, Physics.gravity.z); },
persistType = OptionsWindow.InputPersistType.OnStart persistType = OptionsWindow.InputPersistType.OnStart
}; };
OptionsWindow.BoolInput m_displayHealthBarsInput = new OptionsWindow.BoolInput ("Display health bar above peds") {
isAvailable = () => PedManager.Instance != null,
getValue = () => PedManager.Instance.displayHealthBarAbovePeds,
setValue = (value) => { PedManager.Instance.displayHealthBarAbovePeds = value; },
persistType = OptionsWindow.InputPersistType.OnStart
};
OptionsWindow.BoolInput m_displayMinimapInput = new OptionsWindow.BoolInput ("Display minimap") { OptionsWindow.BoolInput m_displayMinimapInput = new OptionsWindow.BoolInput ("Display minimap") {
isAvailable = () => MiniMap.Instance != null, isAvailable = () => MiniMap.Instance != null,
getValue = () => MiniMap.Instance.gameObject.activeSelf, getValue = () => MiniMap.Instance.gameObject.activeSelf,
@ -142,7 +136,6 @@ namespace SanAndreasUnity.Settings {
m_physicsUpdateRate, m_physicsUpdateRate,
m_gravityInput, m_gravityInput,
m_showSpeedometerInput, m_showSpeedometerInput,
m_displayHealthBarsInput,
m_displayMinimapInput, m_displayMinimapInput,
m_runInBackgroundInput, m_runInBackgroundInput,
m_drawLineFromGunInput, m_drawLineFromGunInput,