Не знаю почему выдает ошибку cs1585? Строка(32,9)?
using UnityEngine;
using UnityEngine.InputSystem;
namespace InfimaGames.LowPolyShooterPack
{
///
/// Time Manager.
///
public class TimeHandler : MonoBehaviour
{
public InputAction
[Header("Settings")]
[Tooltip("Value the time scale gets updated by every time.")]
[SerializeField]
///
/// Determines if the time is stopped.
///
///
/// Current Time Scale.
///
///
/// Updates The Time Scale.
///
public float increment = 0.1f;
public bool paused;
public float current = 1.0f;
///
public void Scale()
{
//Update Time Scale.
Time.timeScale = current;
}
///
/// Change Time Scale.
///
public void Change(float value = 1.0f)
{
//Save Value.
current = value;
//Update.
Scale();
}
///
/// Increase Time Scale Value.
///
private void Increase(float value = 1.0f)
{
//Change.
Change(Mathf.Clamp01(current + value));
}