diff options
author | chai <215380520@qq.com> | 2023-11-26 23:52:30 +0800 |
---|---|---|
committer | chai <215380520@qq.com> | 2023-11-26 23:52:30 +0800 |
commit | 626381f061cde0c78564f6336e3131835cf20a5b (patch) | |
tree | d9991d6eda6ae5d7649ac91ecaa3b4dc833cd4c3 /Assembly_CSharp/UpgradeCard.cs | |
parent | 0e63c4a2c6dec8dfa260501fb7d73750261ea7b7 (diff) |
* move
Diffstat (limited to 'Assembly_CSharp/UpgradeCard.cs')
-rw-r--r-- | Assembly_CSharp/UpgradeCard.cs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/Assembly_CSharp/UpgradeCard.cs b/Assembly_CSharp/UpgradeCard.cs deleted file mode 100644 index 45b6ce8..0000000 --- a/Assembly_CSharp/UpgradeCard.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System.Collections.Generic; -using UnityEngine; - -public class UpgradeCard : MonoBehaviour -{ - [SerializeField] - private string unlockName; - - [SerializeField] - private bool unlockedByDefault; - - public bool unlocked; - - public string title; - - public Sprite image; - - public string description; - - public List<UpgradeCard> unlocks = new List<UpgradeCard>(); - - private void Awake() - { - if (unlockedByDefault || PlayerPrefs.GetInt(unlockName, 0) == 1) - { - unlocked = true; - } - else - { - unlocked = false; - } - } - - public virtual void Upgrade() - { - } -} |