CrankController
A class in Root.Township, the global namespace.
Hooks a Pickup's interaction start and end for a Crank, but both handlers are empty, so it does nothing in this build.
- Listed in Global namespace: C to D
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
CrankController() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Methods
3 private and internal methods
| Member | What it is |
|---|---|
private void Awake() | Subscribes the two handlers to the pickup's InteractionStarted and InteractionEnded events. |
private void StartUpdatingCrank(Interactable arg1, Interactor arg2) | Empty handler for when the pickup is grabbed. |
private void StopUpdatingCrank(Interactable arg1, Interactor arg2) | Empty handler for when the pickup is released. |