MovingObjectsBetweenDocks
A class in Root.Township, the global namespace.
Pooled ghost visual that shows an item flying into a dock, used by Gatherer and PickupContainer. Releases itself when done.
Constructors
| Member | What it is |
|---|
MovingObjectsBetweenDocks() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Methods
| Member | What it is |
|---|
void ReceiveDirections(PickupDock dock, Transform target, Item item) | Starts moving the ghost toward a dock for an item. |
1 private and internal method
| Member | What it is |
|---|
private IEnumerator Moving(PickupDock dock, Transform target, Item item) (iterator) | Runs the dock move animation, then releases the ghosts and itself. |