
I don’t want to add a number to the name every time, is there a better way to do it?
You can do it like
[SerializeField] private SpellConfig _config;
public SpellConfig Config
{
get
{
return _config;
}
set
{
_config = value;
}
}
How about using an array or a list?
– Cyber_CatsI'm not quite sure how to use an array here. What do you mean?
– Maksimkines79I mean public SpellConfig[] configs;
– Cyber_Cats