Exemple #1
0
 public void RegisterOption(IGroupBoxOption option)
 {
     if (!m_GroupOptions.Contains(option))
     {
         m_GroupOptions.Add(option);
     }
 }
Exemple #2
0
        public void OnOptionSelectionChanged(IGroupBoxOption selectedOption)
        {
            if (m_SelectedOption == selectedOption)
            {
                return;
            }

            m_SelectedOption = selectedOption;

            foreach (var option in m_GroupOptions)
            {
                option.SetSelected(option == m_SelectedOption);
            }
        }
Exemple #3
0
 public void UnregisterOption(IGroupBoxOption option)
 {
     m_GroupOptions.Remove(option);
 }