Supported Parameter Types

From ReflexCLI
Revision as of 06:54, 23 September 2017 by Rtm223 (talk | contribs)
Jump to: navigation, search

To use any C# type in your custom commands it must be supported as a console parameter, in order to convert the string input into a usable object. In order to support types that are not specified below, you will need to create a custom Parameter Processor.

Basic System Types

  • string
  • bool
  • int
  • float (note - this
  • Enums
  • Type

The console also supports many less common system types, including all of the default [[1]] and [point] types

Unity Engine Types

A few Unity types are supported out of the box as well, including vectors and all types of GameObject, Component and MonoBehaviour.