Exemple #1
0
 /// <summary>
 /// Creates the <see cref="SharedSource{T}"/>.
 /// </summary>
 public SharedSource()
 {
     this.items                  = new ObservableCollection <T>();
     this.entries                = new List <NavigationEntry>();
     this.selectionHandling      = SelectionHandling.Select;
     this.handleSelectionChanged = true;
     this.selectedIndex          = -1;
 }
 // Start is called before the first frame update
 void Start()
 {
     selectionManager = FindObjectOfType <SelectionHandling>();
 }