mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-14 00:07:15 +00:00
remove "Display health bar above peds" setting
This commit is contained in:
parent
5bc12124ac
commit
aadb7c3d10
2 changed files with 0 additions and 8 deletions
|
@ -42,7 +42,6 @@ namespace SanAndreasUnity.Behaviours
|
|||
|
||||
[Header("Health bar")]
|
||||
|
||||
public bool displayHealthBarAbovePeds = false;
|
||||
public float healthBarVisibleTimeAfterDamage = 3f;
|
||||
public float healthBarWorldWidth = 0.5f;
|
||||
public float healthBarWorldHeight = 0.1f;
|
||||
|
|
|
@ -38,12 +38,6 @@ namespace SanAndreasUnity.Settings {
|
|||
setValue = (value) => { Physics.gravity = new Vector3(Physics.gravity.x, -value, Physics.gravity.z); },
|
||||
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") {
|
||||
isAvailable = () => MiniMap.Instance != null,
|
||||
getValue = () => MiniMap.Instance.gameObject.activeSelf,
|
||||
|
@ -142,7 +136,6 @@ namespace SanAndreasUnity.Settings {
|
|||
m_physicsUpdateRate,
|
||||
m_gravityInput,
|
||||
m_showSpeedometerInput,
|
||||
m_displayHealthBarsInput,
|
||||
m_displayMinimapInput,
|
||||
m_runInBackgroundInput,
|
||||
m_drawLineFromGunInput,
|
||||
|
|
Loading…
Reference in a new issue