This commit is contained in:
j.mei7
2022-02-22 21:31:04 +01:00
parent 7d055be8d1
commit f5f3154c95
12 changed files with 231 additions and 134 deletions

View File

@@ -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>