public static void SetGlobalTimeOverride(UnityEvent unityEvent, float interval = 1)
This is only necessary for games that don't have real-time StatusEffects.
unityEvent
The UnityEvent to subscribe the decrementation interval of duration to.
interval
The float value to decrement from duration.