mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-25 13:30:17 +00:00
Remove "jump speed" setting
This commit is contained in:
parent
dedfd7d75a
commit
9fbd976388
3 changed files with 2 additions and 12 deletions
|
@ -41,8 +41,6 @@ namespace SanAndreasUnity.Behaviours
|
|||
|
||||
public CharacterController characterController { get; private set; }
|
||||
|
||||
public float jumpSpeed = 8.0f;
|
||||
|
||||
[SerializeField] private float m_cameraDistance = 3f;
|
||||
public float CameraDistance { get { return m_cameraDistance; } set { m_cameraDistance = value; } }
|
||||
|
||||
|
|
|
@ -7,14 +7,6 @@ namespace SanAndreasUnity.Settings {
|
|||
|
||||
public class PlayerSettings : MonoBehaviour {
|
||||
|
||||
OptionsWindow.FloatInput m_jumpSpeedInput = new OptionsWindow.FloatInput() {
|
||||
description = "Jump speed",
|
||||
minValue = 3,
|
||||
maxValue = 30,
|
||||
isAvailable = () => Ped.Instance != null,
|
||||
getValue = () => Ped.Instance.jumpSpeed,
|
||||
setValue = (value) => { Ped.Instance.jumpSpeed = value; },
|
||||
};
|
||||
OptionsWindow.FloatInput m_turnSpeedInput = new OptionsWindow.FloatInput() {
|
||||
description = "Turn speed",
|
||||
minValue = 3,
|
||||
|
@ -59,7 +51,7 @@ namespace SanAndreasUnity.Settings {
|
|||
|
||||
void Awake ()
|
||||
{
|
||||
OptionsWindow.RegisterInputs ("PLAYER", m_jumpSpeedInput, m_turnSpeedInput, m_enterVehicleRadiusInput,
|
||||
OptionsWindow.RegisterInputs ("PLAYER", m_turnSpeedInput, m_enterVehicleRadiusInput,
|
||||
m_showSpeedometerInput, m_mouseSensitivityXInput, m_mouseSensitivityYInput);
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
- Make all settings persistent
|
||||
|
||||
- Add option to change fixed delta time
|
||||
- Add option to change fixed delta time ?
|
||||
|
||||
- Crouching: adjust camera aim offset ? ;
|
||||
|
||||
|
|
Loading…
Reference in a new issue