void Start() { dropdown = GameObject.Find("Alignment_Dropdown").GetComponent <TMPro.TMP_Dropdown>(); controller = GameObject.Find("UI_Controller").GetComponent <WUI_Component>(); dropdown.AddOptions(alignment); Debug.Log(dropdown == null); }
void Start() { abilities = new List <string>(); abilities.Add("Strength"); abilities.Add("Dexterity"); abilities.Add("Constitution"); abilities.Add("Intelligence"); abilities.Add("Wisdom"); abilities.Add("Charisma"); controller = GameObject.Find("UI_Controller").GetComponent <WUI_Component>(); }
private void Start() { dropdown = GameObject.Find("Race_Dropdown").GetComponent <TMPro.TMP_Dropdown>(); controller = GameObject.Find("UI_Controller").GetComponent <WUI_Component>(); dropdown.AddOptions(race); }