docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IContextOverrideElement

    Interface for any UI element that can override the current context of the UI.

    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public interface IContextOverrideElement

    Properties

    langOverride

    The language to use in this part of the UI.

    Declaration
    Optional<string> langOverride { get; set; }
    Property Value
    Type Description
    Optional<string>

    layoutDirectionOverride

    The layout direction to use in this part of the UI.

    Declaration
    OptionalEnum<Dir> layoutDirectionOverride { get; set; }
    Property Value
    Type Description
    OptionalEnum<Dir>

    preferredTooltipPlacementOverride

    Preferred placement for tooltips.

    Declaration
    OptionalEnum<PopoverPlacement> preferredTooltipPlacementOverride { get; set; }
    Property Value
    Type Description
    OptionalEnum<PopoverPlacement>
    Remarks

    Note that this is only a hint and the tooltip may be placed differently if there is not enough space.

    scaleOverride

    The scale to use in this part of the UI.

    Declaration
    Optional<string> scaleOverride { get; set; }
    Property Value
    Type Description
    Optional<string>

    themeOverride

    The theme to use in this part of the UI.

    Declaration
    Optional<string> themeOverride { get; set; }
    Property Value
    Type Description
    Optional<string>

    tooltipDelayMsOverride

    Delay in milliseconds before showing a tooltip.

    Declaration
    Optional<int> tooltipDelayMsOverride { get; set; }
    Property Value
    Type Description
    Optional<int>
    In This Article
    Back to top
    Copyright © 2025 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)