protected override void Start() { List <RadioButton> Buttonlist = null; if (!checkButtons.TryGetValue(group, out Buttonlist)) { Buttonlist = new List <RadioButton>(); checkButtons.Add(group, Buttonlist); } Buttonlist.Add(this); isChecked = _isChecked; }
//public bool upwards; //public TextMeshProUGUI MenuName; // Start is called before the first frame update public void StartFromCH() { Handler = GetComponentInParent <ComponentsHandler>(); Buttonlist = GetComponentInParent <Buttonlist>(); }