private void Start() { theInputIndexController = FindObjectOfType <InputIndexController>(); theErrorController = FindObjectOfType <ErrorController>(); theInputReaderController = FindObjectOfType <InputReaderController>(); theGamepadReader = FindObjectOfType <GamepadReader>(); theKeyboardReader = FindObjectOfType <KeyboardReader>(); buttonColors = GetComponentInParent <Button>().colors; }
private void GetInputReader() { theInputReaderController = GetComponentInParent <InputReaderController>(); }