Support for Custom Rendering in Unity C#
Posted: 13 Aug 2019, 17:43
I am in a need for a custom rendering to create something similar to this https://ibb.co/JqyvCsy. I'm writing the logic for plotting each ellipse, and lines, the distance between them and the positioning of the UIElements. I'm overriding the Canvas and that's where I'm plotting these UIElements. But I see that the custom rendering is not supported by default in Noesis GUI for Unity C# yet. WPF has a Dispatcher.Invoke method to push the UI rendering logic in the UI thread pool which is not supported at least in NoesisGUI for Unity. The closest one I can find is UpdateRender but I couldn't find enough documentation about how to use the UpdateRender method from https://www.noesisengine.com/docs/Gui.Core._Canvas.html either. Whenever I try to render the UI directly, it's giving me errors like these in red https://ibb.co/MnznCYN. With all these, I am in loss about how to get around this issue. How do you put the custom rendering into the UI render thread pool so that I won't get the issues like I'm getting right now?