Beispiel #1
0
    public void PopulateMenu(IEnumerable list, string current, DropdownMenu dropDown)
    {
        dropDown.ClearList();
        dropDown.ClearListeners();

        foreach (string item in list)
        {
            dropDown.AddList(item, current);
        }

        dropDown.droptDown.RefreshShownValue();

        dropDown.droptDown.onValueChanged.AddListener(delegate { Save(); });
    }
Beispiel #2
0
 protected override void CleanUp()
 {
     tagDrop.ClearListeners();
 }
Beispiel #3
0
    protected override void CleanUp()
    {
        dropdown.ClearListeners();

        useOnKiller.onValueChanged.RemoveAllListeners();
    }
 protected override void CleanUp()
 {
     jobSelect.ClearListeners();
     skillSelect.ClearListeners();
 }