logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Ui.Application.Interfaces

    Interfaces

    IUiMouseInteractionLock

    Interface for managing mouse/pointer interaction locks in the UI system.
    Used to temporarily disable pointer input to UI elements (except the active owner) while maintaining keyboard navigation.
    Tracks ownership so that when locked, only the owner's hierarchy receives pointer events.

    Owners and targets are typed object because the Application layer must not reference the engine's scene-graph types (e.g. Unity's GameObject/Transform); they are opaque tokens compared by reference identity. The concrete engine implementation casts to its native types to perform hierarchy checks. See IUiThemeComponents for the same pattern applied to engine asset references.

    IUiService

    Interface for a UI service.

    IUiServiceFactory

    Factory interface for creating instances of IUiService with specified parameters.

    In this article
    © 2026 Serenity. All Rights Reserved