Basic Usage

Accessing Rewired in Scripts

To access Rewired classes from a script, add the following line to the top of the script so you don't have to type the Rewired namespace each time:


using Rewired;

Javascript (add below any #pragma statements):

import Rewired;


import Rewired


The Most Important Classes

Rewired.ReInput - The primary static input class. Access Players, Controllers, and much more.

Rewired.Player - Access input through Player.

For more important classes, see How To's - Important Classes


See the API Reference for a complete list of classes.