You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Source/Scripts/SO/Upgrades/Upgrades.cs

18 lines
381 B
C#

3 months ago
using UnityEngine;
public enum UpgradesType
{
Stats = 1,
Member = 2,
Skill = 3
}
public class Upgrades : ScriptableObject
{
[SerializeField] private Sprite icon;
[SerializeField] private string upgradeText;
public virtual UpgradesType GetUpgradeType() => UpgradesType.Stats;
public Sprite Icon => icon;
public string UpgradeText => upgradeText;
}