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/Unlockable Items/UnlockableItem.cs

23 lines
626 B
C#

using UnityEngine;
public enum UnlockableType
{
Member = 1
}
public class UnlockableItem : ScriptableObject
{
[SerializeField] private UnlockableType unlockableType = UnlockableType.Member;
[SerializeField] private float unlockStep;
[Header("Visual")]
[SerializeField] private Sprite icon;
[SerializeField] private Sprite backIcon;
[SerializeField] private string showName;
public Sprite Icon => icon;
public Sprite BackIcon => backIcon;
public string ShowName => showName;
public float UnlockStep => unlockStep;
public UnlockableType UnlockableType => unlockableType;
}