MarkerType is currently an enum. This makes it impossible to add a new marker type without changing the original source code.
Possible solution is to use a scriptable object instead. It would let users at their own marker types and write scripts that can work with them.
Example usecase:
Create custom marker type for torches
Create pipeline task that is able to add torches to the layout
Use a basic templating task to assign torch tile to the torch marker type
It would be also nice to have a typesafety similar to enums. One possible approach is to make a class that will hold references to individual marker types, e.g. MarkerType.Wall, MarkerType.Floor etc..
MarkerType is currently an enum. This makes it impossible to add a new marker type without changing the original source code.
Possible solution is to use a scriptable object instead. It would let users at their own marker types and write scripts that can work with them.
Example usecase:
It would be also nice to have a typesafety similar to enums. One possible approach is to make a class that will hold references to individual marker types, e.g. MarkerType.Wall, MarkerType.Floor etc..