Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Drawing lines/simple figures in an editorWindow

$
0
0
This has been asked before both on the forum and on answers but not one consistent answer came up. What is the "correct" way to draw lines/simple figures in a seperate editor window? One returning suggested solution is to use [Handles][1], but others complained saying that this doesn't work properly. Also handles use Vector3, isn't there a 2D drawing method? Or should the z coordinate just be 0 for every point to obtain 2D. Or are there better methods? GL? It's for a tool to let users draw charts (connect nodes with edges) Thanks [1]: http://docs.unity3d.com/Documentation/ScriptReference/Handles.html

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>