I have a game, and everything works perfectly, until I try to build it, because apparently, I can’t use the editor class HandleUtility.DistancePointLine() in my game.
I find it really strange that Unity didn’t include a DistancePointLine() function for a non-Editor class, at least as far as I am aware of, because now I simply can’t build my game.
Is there some function in C# that CAN be used for the build?