A class in Root.Township, the global namespace.
Refreshes all its smelter recipe unlocks whenever an item is taken out of any of their docks.
Constructors
| Member | What it is |
|---|
UnlockDockManager() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
1 private and internal field
| Member | What it is |
|---|
private SmelterRecipeUnlock[] smelterRecipeUnlocks | The smelter recipe unlocks to manage. |
Methods
2 private and internal methods
| Member | What it is |
|---|
private void Awake() | Hooks the undock event of each unlock's dock. |
private void RefreshUnlocks(Interactor interactor, Pickup pickup, PickupDock dock) | Calls RefreshUnlock on every smelter recipe unlock. |