I have a puzzle game, at the moment I’m using different scenes for different levels, but since this is A really hard to debug and B not very efficient, I want to make scriptable objects that I can edit in the inspector.
Is there any way to make an editor script that does this? So, basically my levels are laid out like this,
Don’t mind the random errors lol
I have these gizmos that represent puzzle pieces, white means empty. I was just editing them manually this way, I want to set up a way to have them automatically assign from a grid of enums that I set up in the inspector. So it’ll be like, level 1, this level, the 3 brown spots will be set to “Brown” and the rest will be “Empty”
Of course, the way I’m doing it now, with a different scene as a different setup means, if i want to change something in the way the game works, with the gamemanager or something, I have to go through each scene and manually change it, or change the prefab, but of course, there’s some things which can’t be solved from changing a prefab.
Does anyone know the best way to go about this?
Thanks