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

30 lines
819 B
C#
Raw 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-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-11 16:50:19 +01:00
[SerializeField]
private float _mouseSens;
[SerializeField]
private float _joypadSens;
2021-02-15 19:09:32 +01:00
}