Is there any way to create scripts with the same name in GDScript? For example, I want a script that represents pieces on a board, and another script that represents pieces on the board but in the level creation system.
So that’s the question, is there any way to create scripts with the same name? with different code of course.
A big mistake of mine, I tried to create the same script in the same folder, I didn’t pay attention to that, there is no need to put a class_name in the script. Well, it helps someone in the future if they have the same problem or doubts!