I have an addon for Godot 3 and I'd like to update it to work on Godot 4 without losing compatibility with Godot 3, I've done this in Unity using defined symbos (with #if UNITY_X_Y_OR_NEWER) I haven't found a way to do this, anyone have any idea?

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 2 points 3 years ago (1 child)

the thing is the code won't compile, I might get around it with reflection but it's gonna be tedious

  • source
  • parent
  • hideshow 1 child comment