Search Unity

Question How can i create a Editor Window Like Animator?

Discussion in 'Editor & General Support' started by CreatAWorld, Sep 30, 2021.

  1. CreatAWorld

    CreatAWorld

    Joined:
    Jul 1, 2019
    Posts:
    7
    Hello everyone,I want to create a Node Graph Like Animator. The Animator has left view show layers and paramters and right view show AnimatorState Nodes. I dont know how to do that, should I use UIElement, or just use IMGUI?
    Now,I can generate Node And Line in Editor Window,but them can be Clip By left view ,and the left view can not be dragged.I use guiStyle of "Box" , I think it is not right, i want Animator Editor Window Style,shoulde i create a style like Animator?

    Now , My Editor Window:
    upload_2021-10-1_1-29-5.png

    I Want:
    upload_2021-10-1_1-32-7.png
     
  2. Here is a tutorial series about how to make a graph window:


    I'm pretty sure you can find countless others if you search for it.
     
  3. CreatAWorld

    CreatAWorld

    Joined:
    Jul 1, 2019
    Posts:
    7
    Thanks,I have find that~