2
0
Fork 0
mirror of https://github.com/GTA-ASM/SanAndreasUnity synced 2025-02-25 19:57:16 +00:00
This commit is contained in:
in0finite 2019-06-23 02:52:48 +02:00
parent 396be732ba
commit 7c9abf67ff
3 changed files with 2 additions and 3 deletions
Assets/Scripts

View file

@ -14,7 +14,7 @@ namespace SanAndreasUnity.Behaviours
public partial class Ped {
[SerializeField] private float m_enterVehicleRadius = 2.0f;
public float EnterVehicleRadius { get { return PedManager.Instance.enterVehicleRadius; } }
public float EnterVehicleRadius { get { return m_enterVehicleRadius; } set { m_enterVehicleRadius = value; } }
public Vehicle CurrentVehicle {
get {

View file

@ -11,7 +11,6 @@ namespace SanAndreasUnity.Behaviours
public GameObject pedPrefab;
public float pedTurnSpeed = 10f;
public float enterVehicleRadius = 2.0f;
public bool showPedSpeedometer = true;
[Header("Health bar")]

View file

@ -47,7 +47,7 @@ namespace SanAndreasUnity.Settings {
void Awake ()
{
OptionsWindow.RegisterInputs ("PLAYER", m_turnSpeedInput, m_enterVehicleRadiusInput,
OptionsWindow.RegisterInputs ("PLAYER", m_turnSpeedInput,
m_showSpeedometerInput, m_mouseSensitivityXInput, m_mouseSensitivityYInput);
}