Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    Dismiss Notice

display arrays in EditorWindow?

Discussion in 'Editor & General Support' started by MattFS, Mar 22, 2010.

  1. MattFS

    MattFS

    Joined:
    Jul 14, 2009
    Posts:
    219
    As known, a public array[] decalared in a script is displayed as a neat foldout with a size option when viewed in the inspector...

    What I was wondering is can you do this with an EditorWindow?
     
  2. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    You can probably create what you need with the EditorGUI or EditorGUILayout classes. Can you give any more information about what you are trying to do?
     
unityunity