logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityHubLauncher

    Launches a real Tools/Serenity/... tool exactly the way a direct menu click would (UnityEditor.EditorApplication.ExecuteMenuItem(System.String)) and records it as a Hub-originated recent. This is the single choke point every catalog card, search result, and Home recent/favorite click launches through, so that "recents record only Hub-originated launches" (spec §8) holds without instrumenting individual tools.

    Inheritance
    object
    SerenityHubLauncher
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Services
    Assembly: Serenity.UnityLocalization.Installation.Editor.dll
    Syntax
    public sealed class SerenityHubLauncher

    Constructors

    SerenityHubLauncher(SerenityHubRecents, Action<string>)

    Declaration
    public SerenityHubLauncher(SerenityHubRecents recents, Action<string> executeMenuItem = null)
    Parameters
    Type Name Description
    SerenityHubRecents recents
    Action<string> executeMenuItem

    Methods

    Launch(string)

    Executes the menu item at menuPath and records it as a recent.

    Declaration
    public void Launch(string menuPath)
    Parameters
    Type Name Description
    string menuPath
    In this article
    © 2026 Serenity. All Rights Reserved