A class in Root.Township, Alta.Cooking.
Marks a pickup as a garnish for cooking pots. Hands the pot the item's CookingGarnish and the player who last held it.
Constructors
| Member | What it is |
|---|
CookingGarnishComponent() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
Properties
2 private and internal properties
| Member | What it is |
|---|
private Player Alta.Cooking.ICookingGarnishMarker.CookingPlayer { get; } | The player who last interacted with the pickup. |
private CookingGarnish Alta.Cooking.ICookingGarnishMarker.GarnishItem { get; } | The CookingGarnish on the pickup's item, looked up once. Logs an error if it's missing. |