public void UnBind(UICameraSorting sorting) { for (int i = 0; i < _sortingList.Count; i++) { if (_sortingList[i] == sorting) { _sortingList.RemoveAt(i); break; } } }
public void Bind(UICameraSorting sorting) { _sortingList.Add(sorting); }