Answers for "dropdown in unity inspector"

C#
0

unity create drop down menu in inspector

public class Player : Monobehaviour
{
 	public List<string> NameList;
    [Dropdown("NameList")]//input the path of the list
    public string MyName; 
}
Posted by: Guest on March-30-2021
0

dropdown in unity inspector

enum myEnum // your custom enumeration {    Item1,     Item2,     Item3 }; var dropDown = myEnum.Item1;  // this public var should appear as a drop down
Posted by: Guest on June-19-2021
0

unity dropdown

Documentation : https://docs.unity3d.com/2018.4/Documentation/ScriptReference/UI.Dropdown.html

Adding a drpodown menu to your game : https://www.youtube.com/watch?v=5onggHOiZaw
Posted by: Guest on April-18-2021

Code answers related to "dropdown in unity inspector"

C# Answers by Framework

Browse Popular Code Answers by Language