Search Unity

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?