- Home /
Node editor GUI in Unity 4?
I need to build a node editor in Unity to be used only in an editor window, not in the game/app. I see that Unity 4 now has one for the mechanim blend trees. Are these GUI elements by chance something that can be used for other custom purposes?
I've discovered that Strumpy has a nice node editor and is open source, though it would still be my choice to use built-in GUI elements if they exist. I know about Spaghetti Machine also, but it does not appear to be an editor extension.
I'd be interested in knowing the solution you went for. Spaghetti $$anonymous$$achine didn't work for me purely from a maintenance perspective. I'm currently deploying my node editor by hacking through Strumpy Shader editor, but it's complex, doesn't support zoo$$anonymous$$g etc. The $$anonymous$$echanim type node editor would be fantastic.
Answer by Steven-Walker · Jan 26, 2013 at 04:46 PM
I am well into making my own node editor now and things are going very well. I've used Strumpy as a reference point to see how they handle drawing the UI, but I've written all of my own custom editor classes. Since it's based on GUI calls, it's not possible to create a view with real zoom. That's why Strumpy uses the ghost map to show where you are when panning the view. To create a fancier view with zoom, I believe you'd have to build the view with GL calls which would be a completely different approach.
Cool, good to know. I think the ghost map + pan would have to do for now for me. Though it seems that there is a workaround to create something "like" zoom without resorting to GL. $$anonymous$$entioning it for completeness:
you know where can i learn more about program in my node? where i can get informations?
Your answer
Follow this Question
Related Questions
How do I get a reference to the default editor windows (Hierarchy, Console, and Inspector)? 1 Answer
Arrow button-ish GUI control? (it's in Mecanim) 0 Answers
Drawing Editor Inspector GUI based on selected/current prefab (CustomPropertyDrawer) 2 Answers