Is there any way to use the same name?

rider64_NNEh63DQ6z

I don’t want to add a number to the name every time, is there a better way to do it?

How about using an array or a list?

I'm not quite sure how to use an array here. What do you mean?

I mean public SpellConfig[] configs;

2 Answers

2

It was much simpler
image

You can do it like

[SerializeField] private SpellConfig _config;
public SpellConfig Config
{
    get
    {
        return _config;
    }
    set
    {
        _config = value;
    }
}

Tell me you're a bot without telling me you're a bot...