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>();
     DeactivateOutline();
 }
Exemplo n.º 2
0
 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();
 }