docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GameOverlayActivated_t

    Purpose: posted when game overlay activates or deactivates the game can use this to be pause or resume single player games

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    [Serializable]
    [CallbackIdentity(331)]
    public struct GameOverlayActivated_t

    Fields

    k_iCallback

    The identifier Steam dispatches this callback under.

    Declaration
    public const int k_iCallback = 331
    Field Value
    Type Description
    int

    m_bActive

    true if it's just been activated, false otherwise

    Declaration
    public byte m_bActive
    Field Value
    Type Description
    byte

    m_bUserInitiated

    true if the user asked for the overlay to be activated/deactivated

    Declaration
    public bool m_bUserInitiated
    Field Value
    Type Description
    bool

    m_dwOverlayPID

    used internally

    Declaration
    public uint m_dwOverlayPID
    Field Value
    Type Description
    uint

    m_nAppID

    the appID of the game (should always be the current game)

    Declaration
    public AppId_t m_nAppID
    Field Value
    Type Description
    AppId_t
    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)