Razor UI for editor tools

Started by DerrikCreates · one year ago · 4 replies · 101 views

#1
DerrikCreates
Member
JoinedAug 2022 Posts4 Score580
I know theres ways to create asset previews in the editor. But is there any way or plans to allow using razor inside the editor for editor tools?

amusing the answer is no i feel like this should be considered as an option. This is one of the big strengths of godot, if you know how to use Godots control nodes dont need to do anything special with the UI to make an editor tool.

I dont expect Godot level of interchange ability given their entire editor is built using control nodes (i think). I feel like being able to even just display a singe razor component and listen to button events would improve the editor tool experience. This is naturally possible since the game window is nested in the editor and the game window renders razor. Maybe something like the ScenePanel Scene mentioned in the last dev log but in reverse?

if this is already possible ignore the ramblings and tell me how :)
#2
garry
Facepunch
JoinedApr 2021 Posts436 Score2,270
Yes. Having a WYSIWYG editor for UI is one of my goals. It won't replace or be more powerful than Razor but we should aim at it being usable for > 70% UI tasks.
#3
ubre
Member
JoinedMay 2021 Posts143 Score10,142
How possible would it be for that editor to spit out razor code? So we can pick up where it left off.
#4
garry
Facepunch
JoinedApr 2021 Posts436 Score2,270
It's going to using GameObjects, it won't be some standalone editor.
delete
Deleted Post
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.