public void SetHeader(string headerText)
 {
     if (selectionPanel == null)
     {
         selectionPanel = GetComponent <SelectionPanel>();
     }
     selectionPanel.SetHeader(headerText);
 }
        public void SetOptionList(List <ISelectionItem> selectionOptions, string headerText, int startSelectionIndex = 0)
        {
            selectionItems = selectionOptions;
            List <string> options = new List <string>();

            foreach (var option in selectionOptions)
            {
                options.Add(option.GetName());
            }

            if (selectionPanel == null)
            {
                selectionPanel = GetComponent <SelectionPanel>();
            }
            selectionPanel.SetOptionList(options, headerText, startSelectionIndex);
        }