Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
public class OdinMenuTreeSelection : IList<OdinMenuItem>, ICollection<OdinMenuItem>, IEnumerable<OdinMenuItem>, IEnumerable
public OdinMenuTreeSelection(bool supportsMultiSelect)
System.Boolean | supportsMultiSelect | if set to |
public int Count { get; }
public OdinMenuItem this[int index] { get; }
System.Int32 | index |
public object SelectedValue { get; }
public IEnumerable<object> SelectedValues { get; }
public bool SupportsMultiSelect { get; set; }
public void Add(OdinMenuItem item)
OdinMenuItem | item | The item. |
public void Clear()
public void ConfirmSelection()
public void CopyTo(OdinMenuItem[] array, int arrayIndex)
OdinMenuItem[] | array | |
System.Int32 | arrayIndex |
public IEnumerator<OdinMenuItem> GetEnumerator()
System.Collections.Generic.IEnumerator<OdinMenuItem> |
public void RemoveAt(int index)
System.Int32 | index |
public event Action<SelectionChangedType> SelectionChanged
public event Action<OdinMenuTreeSelection> SelectionConfirmed