ControllerMod
An abstract class in Root.Township, the global namespace.
Base for a developer debug mod that runs when ModHands fires, which happens on the DebugMod action while grab is held, only for users with debug_features.
- Listed in Global namespace: C to D
- Inherits or implements
ModBase
Constructors
| Member | What it is |
|---|---|
protected ControllerMod() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What it is |
|---|---|
protected override void Initialize() | Hooks ModHands.ModCalled. |
protected abstract void RunMod(Controller controller) | The mod's action, given the controller that triggered it. |
protected override void Terminate() | Unhooks ModHands.ModCalled. |