Added functionality to main menu
This commit is contained in:
@@ -190,12 +190,14 @@ namespace Fruitomation.Game
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[MenuItem("Fruitomation/Reset Upgrades")]
|
||||
#endif // UNITY_EDITOR
|
||||
public static void ResetUpgrades()
|
||||
{
|
||||
CurrentUpgrades = new UnlockedUpgrades();
|
||||
CurrentUpgrades.Unlock(BasicUpgrade.Apple); // Always unlocked
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[MenuItem("Fruitomation/Unlock All Upgrades")]
|
||||
public static void UnlockAll()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user