Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

[RELEASED] Ghost Commands - Execute commands directly in the editor!

Discussion in 'Assets and Asset Store' started by Ghostlike-Interactive, May 2, 2024.

  1. Ghostlike-Interactive


    Mar 12, 2024

    Turn methods and properties into commands, and execute them right in the editor console & in-game.
    Ghost Commands is available on the asset store!

    • Turn any method or property into a command
    • Debug functionality inside the game at ease
    • Enhance the editor with commands like managing assets and loading scenes
    • Integrated command field within the editor console & game
    • Group commands together with prefixes
    • Supports static and non-static methods & properties
    • Fully supported method overloads & default parameters
    • Add and remove commands dynamically at runtime
    • Modern UI built with UI Toolkit and style sheets
    • Suggestions and auto-completion with intuitive keyboard navigation
    • Highly customizable with style sheets
    • Supports both legacy and new input system out of the box

    Use the [Command] attribute on any method or property, and execute them directly in the editor console & in-game. No setup is required!
  2. Ghostlike-Interactive


    Mar 12, 2024
    Version 1.1.0 is now available:
    • Most types that derive from UnityEngine.Object are now supported out of the box
    • Added new [Prefab] attribute to specify prefab commands & parameters
    • Added new [Suggestor] attribute to easily create suggestions based on a type
    • Added setting to automatically add prefixes to non-static commands
    • Added setting to select which editor window to show the command field on
    • Added new icons and tweaked some icon colors
    • Added 6 new object commands
    • Added custom assembly definitions
    • Improved colors for light-mode editor UI
    • Fixed a bug where the text field would sometimes disappear
    • Fixed a bug with extracting containers from strings
    • Fixed a bug with reading string arguments inside containers
    • Small optimizations to the suggestion list