InteractableEvents
A class in Root.Township, the global namespace.
Exposes an Interactable's interaction started and ended events as Unity events you can wire up in the inspector.
- Listed in Global namespace: I to L
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
InteractableEvents() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
3 private and internal fields
| Member | What it is |
|---|---|
private Interactable interactable | The interactable on the same object. |
private InteractableUnityEvent interactionEnded | Invoked when an interaction ends. |
private InteractableUnityEvent interactionStarted | Invoked when an interaction starts. |