Debug.DrawRay but in the editor?(Solved)

Is something like that possible? To connect several Transforms with lines in order to mark a region in the scene, for example?

2 Likes

Okay it works; but can these things be displayed all the time, not just on selecting a specific object?

Found that: OnDrawGizmos instead of OnSceneGui