changed weapon
This commit is contained in:
@ -11,7 +11,8 @@ public class scr_CharacterController : MonoBehaviour
|
||||
|
||||
private CharacterController characterController;
|
||||
private DefaultInput defaultInput;
|
||||
private Vector2 input_Movement;
|
||||
[HideInInspector]
|
||||
public Vector2 input_Movement;
|
||||
[HideInInspector]
|
||||
public Vector2 input_View;
|
||||
|
||||
@ -119,6 +120,7 @@ public class scr_CharacterController : MonoBehaviour
|
||||
}
|
||||
|
||||
// Effectors
|
||||
|
||||
if (!characterController.isGrounded)
|
||||
{
|
||||
playerSettings.SpeedEffector = playerSettings.FallingSpeedEffector;
|
||||
|
@ -61,7 +61,7 @@ public static class scr_Models
|
||||
[Serializable]
|
||||
public class WeaponSettingsModel
|
||||
{
|
||||
[Header("Sway")]
|
||||
[Header("Weapon Sway")]
|
||||
public float SwayAmount;
|
||||
public bool SwayYInverted;
|
||||
public bool SwayXInverted;
|
||||
@ -69,6 +69,13 @@ public static class scr_Models
|
||||
public float SwayResetSmoothing;
|
||||
public float SwayClampX;
|
||||
public float SwayClampY;
|
||||
|
||||
[Header("Weapon Movement Sway")]
|
||||
public float MovementSwayX;
|
||||
public float MovementSwayY;
|
||||
public bool MovementSwayYInverted;
|
||||
public bool MovementSwayXInverted;
|
||||
public float MovementSwaySmoothing;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Reference in New Issue
Block a user