Closed vegolasse closed 3 months ago
I saw that this is very similar to the "Update to 5.4" PR. If that's merged, there's only one file left to fix and I can make a new PR with that unless you fix it directly.
Closing as there was a similar PR already
Added missing include files to define types properly. It luckily happens to work with unity builds, but we have a CI step which does static code analysis and doesn't use unity to catch missing include errors like this.
Also, the #endif that previously (correctly) was an #else causes an "unreachable code" error to appear since WITH_EDITOR will have two return statements after each other.