revival/game/Assets/Scripts/Player/PlayerInputSettings.cs

33 lines
934 B
C#
Raw Permalink Normal View History

2021-02-15 19:09:32 +01:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "PlayerInputSettings.asset", menuName = "KernelPanic/Player/InputSettings")]
public class PlayerInputSettings : ScriptableObject
{
public float JumpBufferTime => _jumpBufferTime;
public float BlinkBufferTime => _blinkBufferTime;
public float UseBufferTime => _useBufferTime;
2021-03-08 15:16:20 +01:00
public float FreezeBufferTime => _freezeBufferTime;
2021-03-11 16:50:19 +01:00
public float MouseSensitivity => _mouseSens;
public float JoypadSensitivity => _joypadSens;
2021-02-15 19:09:32 +01:00
[SerializeField]
private float _jumpBufferTime;
[SerializeField]
private float _blinkBufferTime;
[SerializeField]
private float _useBufferTime;
2021-03-08 15:16:20 +01:00
[SerializeField]
private float _freezeBufferTime;
2021-03-24 13:45:19 +01:00
[SerializeField]
2021-03-11 16:50:19 +01:00
private float _mouseSens;
[SerializeField]
private float _joypadSens;
2021-02-15 19:09:32 +01:00
}