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;
|
|
|
|
|
|
|
|
[SerializeField]
|
|
|
|
private float _jumpBufferTime;
|
|
|
|
|
|
|
|
[SerializeField]
|
|
|
|
private float _blinkBufferTime;
|
|
|
|
|
|
|
|
[SerializeField]
|
|
|
|
private float _useBufferTime;
|
|
|
|
}
|