mirror of
https://github.com/DerTyp7/example-top-down-unity.git
synced 2025-10-30 12:57:08 +01:00
tool
This commit is contained in:
@@ -13,6 +13,9 @@ public abstract class Harvestable : Interactable
|
||||
|
||||
float harvestTime = 0f;// time for how long the player already "harvested" the object
|
||||
|
||||
public ToolType toolType = ToolType.AXE;
|
||||
public bool isHarvested = false;
|
||||
|
||||
/// <summary>
|
||||
/// <c>IncreaseHarvestTime</c> increases the harvestTime by Time.deltaTime.
|
||||
/// <code>harvestTime += Time.deltaTime;</code>
|
||||
|
||||
Reference in New Issue
Block a user