Collectables stored + Metal and Oxygen added to game

This commit is contained in:
Sewmina
2022-04-21 07:08:38 +05:30
parent 4e63909cf5
commit fa429899d6
9 changed files with 867 additions and 88 deletions

View File

@@ -12,9 +12,17 @@ public class BuildingData : ScriptableObject
public string description;
public bool collectable;
public CollectablesData.ResourceType resourceType;
public float[] productinoRates;
}
public static class CollectablesData{
public enum ResourceType{
Metal,
Oxygen
}
}
[System.Serializable]
public class BuildingStat{
public string name;