Answers for "unity inspector drop down"

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

C# Answers by Framework

Browse Popular Code Answers by Language