示例#1
0
    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;
    }
示例#2
0
 //public bool upwards;
 //public TextMeshProUGUI MenuName;
 // Start is called before the first frame update
 public void StartFromCH()
 {
     Handler    = GetComponentInParent <ComponentsHandler>();
     Buttonlist = GetComponentInParent <Buttonlist>();
 }