Turn methods and properties into commands, and execute them right in the editor console & in-game.
Ghost Commands is available on the asset store!
HIGHLIGHTS
- 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!
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
Version 1.2.0 is now available:
- Added new commands (More info here):
- Added new copy commands
- Added new build commands
- Added new object
- Added new name commands
- Fixed possible exception when attempting to build
- Added 2 new icons