mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-25 19:57:16 +00:00
...
This commit is contained in:
parent
396be732ba
commit
7c9abf67ff
3 changed files with 2 additions and 3 deletions
Assets/Scripts
|
@ -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 {
|
||||
|
|
|
@ -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")]
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue