Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

EditorWindow show components

Discussion in 'Editor & General Support' started by retrophil, Feb 11, 2019.

  1. retrophil

    retrophil

    Joined:
    Mar 16, 2013
    Posts:
    24
    Is there a way of adding the details of a component, if not the component itself to a custom editor window?

    The closest thing I could find was the Editor.DrawDefaultInspector, but thats in "Editor" and doesn't exactly do what I want it to do.

    Ideally I am trying to take PostProcessVolume and the profile it holds - sitting in a custom window. The only other option I can think of is listing each variable field,slider, graph etc... out manually, which will take a while and it wont look the same.

    If anyone knows, please add to the thread. Thanks.
     
    Last edited: Feb 11, 2019