public void AddResource(ProjectileTypes pt) { if (pt == ProjectileTypes.None) { currentTrees++; } else { currentResourcesDict[pt]++; } resourcePanel.UpdateAllResourceCounts(); }
public void OnMouseDown() { ResourcesManager.instance.PlaceResource(); resourcePanel.UpdateAllResourceCounts(); }