private void Awake() { _deaturanopiaReference = FindObjectOfType <DeuteranopiaFeature>(); _tritanopiaReference = FindObjectOfType <TritanopiaFeature>(); _featureText = FeatureText.GetComponent <TextMeshProUGUI>(); _featureText.text = "Protanopia \n (Red)"; _greenChannelSlider = GreenChannelSlider.GetComponent <Slider>(); _blueChannelSlider = BlueChannelSlider.GetComponent <Slider>(); DeactivateOutline(); }
private void Awake() { _protanopiaReference = FindObjectOfType <ProtanopiaFeature>(); _tritanopiaReference = FindObjectOfType <TritanopiaFeature>(); _featureText = FeatureText.GetComponent <TextMeshProUGUI>(); _featureText.text = "Deuteranopia \n (Green)"; _redChannelSlider = RedChannelSlider.GetComponent <Slider>(); _blueChannelSlider = BlueChannelSlider.GetComponent <Slider>(); _audioManager = FindObjectOfType <AudioManager>(); DeactivateOutline(); }