Small changes
This commit is contained in:
@@ -5131,6 +5131,7 @@ MonoBehaviour:
|
||||
- LinePoints:
|
||||
- {fileID: 471231060}
|
||||
- {fileID: 1865160004}
|
||||
- {fileID: 1595272091}
|
||||
- {fileID: 1015076958}
|
||||
- LinePoints:
|
||||
- {fileID: 528476485}
|
||||
@@ -9190,7 +9191,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 100}
|
||||
m_AnchoredPosition: {x: -100, y: 400}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &1931088261
|
||||
|
||||
@@ -138,7 +138,19 @@ namespace Fruitomation.Game
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[MenuItem("Fruitomation/Reset Upgrades")]
|
||||
#endif // UNITY_EDITOR
|
||||
public static void ResetUpgrades() => CurrentUpgrades = new UnlockedUpgrades();
|
||||
|
||||
[MenuItem("Fruitomation/Unlock All Upgrades")]
|
||||
public static void UnlockAll()
|
||||
{
|
||||
BasicUpgrade[] upgrades = Enum.GetValues(typeof(BasicUpgrade)) as BasicUpgrade[];
|
||||
System.Diagnostics.Debug.Assert(upgrades != null, nameof(upgrades) + " != null");
|
||||
|
||||
foreach (BasicUpgrade upgrade in upgrades)
|
||||
{
|
||||
Unlock(upgrade);
|
||||
}
|
||||
}
|
||||
#endif // UNITY_EDITOR
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user