OnPreviewGUI for Canvas and UI Elements
Hello, I am making a custom editor window for my card game. In this editor window, I can create/delete and manage my cards scriptable objects. I'd like to add a preview window that would show how my current card would look as I modify it. Thing is, I can show easily any 2d/3d objects with Editor.OnPreviewGUI() but I can't manage to show anything that is UI-Related. Is there a similar method to OnPreviewGUI() but for canvas elements ? Did anyone ever did this? Thank you for your time.
Your answer
Follow this Question
Related Questions
How to access a Custom Editor components 1 Answer
how would I display an array correctly with from an editor script? 0 Answers
Custom Inspector changes not updating target in Edit Mode 1 Answer
Do Unity Editor GUI Utilities (Handles.DrawLine & EditorGUI.DrawRect) have limitations? 2 Answers
Webview in custom Unity Editor Window? 0 Answers