Difference between revisions of "ReflexCLI"

From ReflexCLI
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 16: Line 16:
  
 
would become a console command, called <code>ConsoleTest.MultiplyAndFloor</code>, that takes two floating point parameters and prints an integer return value to the console.
 
would become a console command, called <code>ConsoleTest.MultiplyAndFloor</code>, that takes two floating point parameters and prints an integer return value to the console.
 
<b>TODO - image here</b>
 
  
 
==Key Features==
 
==Key Features==
Line 24: Line 22:
 
* Turn almost any method, field or parameter into a command line command.
 
* Turn almost any method, field or parameter into a command line command.
 
* Handles custom commands with arbitrary parameter lists.
 
* Handles custom commands with arbitrary parameter lists.
 +
* Allows you to easily extend the console to support custom types as parameters
 
* All code excluded from Release builds (editor/development builds only).
 
* All code excluded from Release builds (editor/development builds only).
 +
 +
==Limitations==
 +
ReflexCLI will support all versions of Unity 2018.4 and newer. If you are using the newer Input System package then you will require Unity 2019.3.7 or later and Input System package 1.0.2 or later.
 +
  
 
==Get Started==
 
==Get Started==
 
Reflex is available on the [https://www.assetstore.unity3d.com/#!/content/100638|Unity Asset Store]. Download the package into your Unity project and you should be good to go. Check out the [[Installation|Installation Instructions]] for details on how to verify the console is working correctly.
 
Reflex is available on the [https://www.assetstore.unity3d.com/#!/content/100638|Unity Asset Store]. Download the package into your Unity project and you should be good to go. Check out the [[Installation|Installation Instructions]] for details on how to verify the console is working correctly.

Latest revision as of 09:21, 1 March 2021

Welcome to the user documentation for ReflexCLI - a reflection-based Command Line Interface for debugging in the Unity Game Engine. The goal of the tool is to provide an in-game debugging tool that is powerful and highly extensible, while requiring minimal setup and minimal modifications to game code.

What Does it Do?

In short, you can tag methods in your code with a [ConsoleCommand] attribute, and these will then become available in the Reflex Console, for easy debugging. As a trivial example:

using ReflexCLI.Attributes;

class ConsoleTest
{
    [ConsoleCommand]
    static int MultiplyAndFloor(float a, float b)
}

would become a console command, called ConsoleTest.MultiplyAndFloor, that takes two floating point parameters and prints an integer return value to the console.

Key Features

  • Simple setup and integration.
  • Intuitive command console with suggestions, history and autocomplete.
  • Turn almost any method, field or parameter into a command line command.
  • Handles custom commands with arbitrary parameter lists.
  • Allows you to easily extend the console to support custom types as parameters
  • All code excluded from Release builds (editor/development builds only).

Limitations

ReflexCLI will support all versions of Unity 2018.4 and newer. If you are using the newer Input System package then you will require Unity 2019.3.7 or later and Input System package 1.0.2 or later.


Get Started

Reflex is available on the Asset Store. Download the package into your Unity project and you should be good to go. Check out the Installation Instructions for details on how to verify the console is working correctly.