Exemplo n.º 1
0
 public int GetResourceAmount(ResourceTypeSO resourceType)
 {
     return(m_resourceAmountDictionary[resourceType]);
 }
Exemplo n.º 2
0
 public void AddResource(ResourceTypeSO resourceType, int amount)
 {
     m_resourceAmountDictionary[resourceType] += amount;
     OnResourceAmountChanged?.Invoke(this, EventArgs.Empty);
 }