SetGlobalTimeOverride

Declaration

public static void SetGlobalTimeOverride(UnityEvent unityEvent, float interval = 1)

Parameters

unityEvent

The UnityEvent to subscribe the decrementation interval of duration to.

interval

The float value to decrement from duration.

Description

This is only necessary for games that don't have real-time StatusEffects.