- Home /
Question about variabl lists
This question will most likely have been answered a million times before, but how do you create a drop down variable list in the unity editor? Like the ones unity uses for making tags and input controls? I am trying to make a chess like game but to do so I need to connect the places in scripting, and for that I need one of those drop down lists. What is the scripting function to make a list like those stated above?
The editor fields are members of the EditorGUI and EditorGUILayout classes.
Answer by Eric5h5 · Jul 06, 2011 at 08:39 PM
Use an array:
var something : Transform[]; // or whatever type
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Making enum visible in the Inspector via a drop down list 2 Answers
Help optimizing my code for chess game 1 Answer
Type for layer selection 3 Answers
Optimizing code for color generation of chess board 4 Answers