private void Start() { _L10A190_managerSeleccionar = transform.parent.GetComponent <L10A190_managerSeleccionar>(); _L10A190_managerSeleccionar._groupToggle.Add(this); SetComponentGroupToggle(); _sizeCorrect = GetSizeCorrect(); }
void Start() { _controlAudio = FindObjectOfType <ControlAudio>(); _toggle = GetComponent <Toggle>(); _L10A190_groupSeleccionar = transform.parent.GetComponent <L10A190_groupSeleccionar>(); _managerToggle = transform.parent.parent.GetComponent <L10A190_managerSeleccionar>(); _toggle.onValueChanged.AddListener(delegate { SetStateToggle(); }); if (_managerToggle._NeedSymbol == L10A190_managerSeleccionar.NeedSymbol.withSymbol) { transform.GetChild(0).gameObject.SetActive(false); } }