Added unlock info to each button
This commit is contained in:
@@ -10,6 +10,7 @@ namespace Fruitomation.Game
|
||||
{
|
||||
public string Name;
|
||||
public BuildingUnlock Requirement;
|
||||
public AutomationBuildingType Type;
|
||||
public GameObject Prefab;
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +75,19 @@ namespace Fruitomation.Game
|
||||
[Preserve] Peeler,
|
||||
}
|
||||
|
||||
[Serializable] public enum AutomationBuildingType
|
||||
{
|
||||
[Preserve] None,
|
||||
[Preserve] Slicer,
|
||||
[Preserve] Presser,
|
||||
[Preserve] HeatExchanger,
|
||||
[Preserve] Grinder,
|
||||
[Preserve] Mixer,
|
||||
[Preserve] Fermenter,
|
||||
[Preserve] Peeler,
|
||||
[Preserve] Spawner
|
||||
}
|
||||
|
||||
public class UnlockedUpgrades
|
||||
{
|
||||
[Serializable] public class Serialized
|
||||
|
||||
Reference in New Issue
Block a user