A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Calling all New Unity users! Join the Halloween Mods Showcase Challenge until October 31.
Discussion in 'UIElements' started by pKallv, Dec 28, 2018.
Is this something that is considered, if not: It is needed.
For now, I use an IMGUI container and the good ol' Handles.DrawLine, Handles.DrawBezier, Handles.DrawAALineor whatever you want.
Not perfect (I'd love to never see IMGUI again), but it works!
You can also look at the code for the EdgeControl in the GraphView repo for an example of how Edges (e.g. lines) are rendered on a Graphview, without relying on IMGUI.
Hi, currently the only way to do custom rendering in UIElements is by inheriting from ImmediateModeElement and overriding the ImmediateRepaint function.
From there you have access to Handles, Graphics and so on.