Supported Parameter Types

From ReflexCLI
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
  • All enum types
  • Type

The console also supports many less common system types, including all of the default integral and floating 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.