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>(); _deuteranopiaReference = FindObjectOfType <DeuteranopiaFeature>(); _featureText = FeatureText.GetComponent <TextMeshProUGUI>(); _featureText.text = "Tritanopia \n (Blue)"; _redChannelSlider = RedChannelSlider.GetComponent <Slider>(); _greenChannelSlider = GreenChannelSlider.GetComponent <Slider>(); _audioManager = FindObjectOfType <AudioManager>(); DeactivateOutline(); }