Razor UI for editor tools

Started by DerrikCreates 5 posts 100 views

Reply on sbox.game
  1. #1
    DerrikCreates 580
    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. #2
    garry Facepunch 2,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. #3
    ubre 10,142
    How possible would it be for that editor to spit out razor code? So we can pick up where it left off.
  4. #4
    garry Facepunch 2,270
    It's going to using GameObjects, it won't be some standalone editor.
  5. #5
    Unknown