This is my script:
using UnityEngine;
using System.Collections;
public enum WeaponType
{
sword,
axe,
whip,
staff,
fist,
bow,
mace,
polearm,
}
[System.Serializable]
public class baseCharacterClass : ScriptableObject
{
public string className;
public string classDescription;
[Space(10)]
[Header("Class specific stat bonuses that get added to the base stats")]
public int healthBonus;
public int vigorBonus;
public int magicBonus;
public int dexterityBonus;
public int luckBonus;
[Space(10)]
[Header("The amount of time a character with this specific class can move")]
public int move;
[Space(10)]
[Header("Helps determine what stats increase upon leveling up")]
public int healthGrowthRate;
public int vigorGrowthRate;
public int magicGrowthRate;
public int dexterityGrowthRate;
public int luckGrowthRate;
[Space(10)]
[Header("Determines class armor type")]
public float physicalArmorRating;
public float magicArmorRating;
public float specialArmorRating;
[Space(10)]
[Header("Determines class Weapon specialty")]
public WeaponType weaponType;
public WeaponType classAdvantage;
public WeaponType classWeakness;
[Space(10)]
[Header("The max distance between the character and target when interacting")]
public int range;
[Space(10)]
[Header("Potential Class Upgrades")]
public ScriptableObject[] nextClass;
}
This is what it looks like in the inspector:

I have tried restarting Unity and I don’t have any compilation errors.
Any help would be greatly appreciated.
