Praytic / youtd2

Classic community-driven session-based Tower Defense game with RPG elements.
https://youtd2.com/
MIT License
92 stars 16 forks source link

Solve duplication of SelectionMaterial code per Unit instance #344

Closed Praytic closed 8 months ago

Praytic commented 9 months ago

Due to canvas_item not having instance uniform variables, we have to make material "local to scene". This causes the code to embed into the scene. Issue should be resolved when https://github.com/godotengine/godot/issues/62943 is resolved and project version is upgraded.