> For the complete documentation index, see [llms.txt](https://maraudical.gitbook.io/status-effects-framework/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maraudical.gitbook.io/status-effects-framework/1.4.1/type-specifics/classes/statusmanager/setglobaltimeoverride.md).

# SetGlobalTimeOverride

### Declaration

public static void **SetGlobalTimeOverride**([UnityEvent](https://docs.unity3d.com/ScriptReference/Events.UnityEvent.html) unityEvent, float interval = 1)

### Parameters

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>unityEvent</td><td>The <a href="https://docs.unity3d.com/ScriptReference/Events.UnityEvent.html">UnityEvent</a> to subscribe the decrementation interval of duration to.</td></tr><tr><td>interval</td><td>The float value to decrement from duration.</td></tr></tbody></table>

### Description

This is only necessary for games that don't have real-time [StatusEffects](/status-effects-framework/1.4.1/type-specifics/classes/statuseffect.md).
