we make games
Small Bang Theory
Hacked Together
Elwin Verploegen

Snippet: Drawing Lines In Editor WindowsDecember 19, 2014

By Elwin

This script was written by Yossarian King and Linusmartensson. This script makes it easy to draw lines in editor windows, which is perfect for creating separator lines or showing connections between nodes. Here’s an example of that from our dialogue editor: using System.Reflection; using UnityEngine; // Line drawing routine originally courtesy of Linusmartensson: // http://forum.unity3d.com/threads/71979-Drawing-lines-in-the-editor // // Rewritten to […]