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.
18 lines
381 B
C#
18 lines
381 B
C#
2 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;
|
||
|
}
|