ThrowableArrow
A class in Root.Township, the global namespace.
Lets an arrow fly as an arrow when thrown by hand: stops arrow flight while held and starts simple flight on release, unless docked.
- Listed in Global namespace: T to X
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
ThrowableArrow() | 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 to the pickup's grab and release events. |
private void StartUpdatingArrowFlight(Interactable arg1, Interactor arg2) | On release, starts simple arrow flight if nothing else holds it and it isn't docked. |
private void StopUpdatingArrowFlight(Interactable arg1, Interactor arg2) | On grab, stops arrow flight. |