A class in Root.Township, the global namespace.
Controller extension that fires ModCalled when the debug mod button is pressed while grab is held. Only hooks up for users with the debug_features permission.
Constructors
| Member | What it is |
|---|
ModHands() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Events
| Member | What it is |
|---|
static event ModHands.ModEvent ModCalled | Static event raised with the controller when a player triggers the debug mod input. |
Methods
| Member | What it is |
|---|
override void InitializeControllerExtension() | Hooks the debug mod action if the user has debug_features and a controller is set. |
1 private and internal method
| Member | What it is |
|---|
private void ButtonPressed(PlayerInput playerInput) | Raises ModCalled with this controller if grab is held when the debug mod action starts. |