docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum EDurationControlNotification

    describes which notification timer has expired, for steam china duration control feature WARNING: DO NOT RENUMBER

    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    public enum EDurationControlNotification

    Fields

    Name Description
    k_EDurationControlNotification_1Hour

    "you've been playing for N hours"

    k_EDurationControlNotification_3Hours

    deprecated - "you've been playing for 3 hours; take a break"

    k_EDurationControlNotification_ExitSoon_3h

    allowed 3h time since 5h gap/break has elapsed, game should exit - steam will terminate the game soon

    k_EDurationControlNotification_ExitSoon_5h

    allowed 5h time in calendar day has elapsed, game should exit - steam will terminate the game soon

    k_EDurationControlNotification_ExitSoon_Night

    game running after day period, game should exit - steam will terminate the game soon

    k_EDurationControlNotification_HalfProgress

    deprecated - "your XP / progress is half normal"

    k_EDurationControlNotification_NoProgress

    deprecated - "your XP / progress is zero"

    k_EDurationControlNotification_None

    just informing you about progress, no notification to show

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)