I've got this error and need help, it is on (92,28), but the error has remained, any help would be appreciated, Im relatively new to programming in c# so I'm not entirely familiar with the programming language yet, so this is probably a beginner question, but even so, an answer and and explanation as to what i did wrong as so I can improve upon myself is always appreacited.
using UnityEngine;
[CreateAssetMenu(fileName = "Pokemon", menuName = "Pokemon/Create New Pokemon")]
public class PokemonBase : ScriptableObject
{
[SerializeField] string name;
[TextArea]
[SerializeField] string description;
[SerializeField] Sprite frontSprite;
[SerializeField] Sprite backSprite;
[SerializeField] PokemonType type1;
[SerializeField] PokemonType type2;
//Base Stats
[SerializeField] int maxHp;
[SerializeField] int attack;
[SerializeField] int defense;
[SerializeField] int spAttack;
[SerializeField] int spDefense;
[SerializeField] int speed;
[SerializeField] List<LearnableMove> learnableMoves;
public string Name
{
get { return name; }
}
public string Description
{
get { return description; }
}
public Sprite FrontSprite
{
get { return frontSprite; }
}
public Sprite BackSprite
{
get { return backSprite; }
}
public PokemonType Type1
{
get { return type1; }
}
public PokemonType Type2
{
get { return type2; }
}
public int MaxHp
{
get { return maxHp; }
}
public int Attack
{
get { return attack; }
}
public int Defense
{
get { return defense; }
}
public int SpAttack
{
get { return spAttack; }
}
public int SpDefense
{
get { return spDefense; }
}
public int Speed
{
get { return speed; }
}
}
public List<LearnableMove> LearnableMoves
{
get { return learnableMoves; }
}
[System.Serializable]
public class LearnableMove
{
[SerializeField] MoveBase moveBase;
[SerializeField] int level;
public MoveBase Base
{
get { return moveBase; }
}
public int Level
{
get { return level; }
}
}
public enum PokemonType
{
None,
Normal,
Fire,
Water,
Grass,
Electric,
Ice,
Fighting,
Poison,
Ground,
Flying,
Physic,
Bug,
Rock,
Ghost,
Dragon
} ```