Does anyone know how to make a line that is not just visible in scene view, but also in game view? I tried Gizmos.drawline and Debug.drawline but they both don’t show the lines in game view. Any idea?
Use the Line renderer component. Gizmos and Debug aren’t meant to be used in a build even though aren’t explicitly in the editor namespace.
They do show in the game view, just select the appropriate gizmos. (They are of course not in a build, but that doesn’t seem to be what you’re asking.)
–Eric