projectEli/Assets/NeoFPS/Core/Utilities/ISlowMoSystem.cs

28 lines
459 B
C#
Raw Normal View History

2022-11-07 01:28:33 +00:00
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();
}
}