projectEli/Assets/NeoFPS/Core/Utilities/ISlowMoSystem.cs
2022-11-06 20:28:33 -05:00

28 lines
459 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace NeoFPS
{
public interface ISlowMoSystem
{
float charge
{
get;
set;
}
bool isTimeScaled
{
get;
}
event UnityAction<float> onChargeChanged;
void SetTimeScale(float ts, float drainRate = 0f);
void ResetTimescale();
}
}