// Start is called before the first frame update
    void Start()
    {
        if (!nullValues)
        {
            string[] names = Input.GetJoystickNames();
            foreach (string name in names)
            {
                if (name != "")
                {
                    controllerPresent = true;
                    Cursor.visible    = false;
                }
            }


            player         = GameObject.Find("Player").GetComponent <PlayerController>();
            specials       = player.gameObject.GetComponent <SpecialsManager>();
            aerialListener = aerialCamera.GetComponent <AudioListener>();
            mainListener   = mainCamera.GetComponent <AudioListener>();
            ObjMng         = gameObject.GetComponent <ObjectivesManager>();
            ArrInd         = gameObject.GetComponent <ArrowIndicator>();
            PhoneUI        = GameObject.Find("PopUpPhone").GetComponent <PhoneUI>();
            dataPost       = GameObject.FindGameObjectWithTag("Data").GetComponent <DrivePost>();
            int   width  = Screen.width;
            int   height = Screen.height;
            float ratio  = width / 1920;
            width  = (int)(width * ratio);
            height = (int)(height * ratio);
            ArrInd.SetHideArrow();
#if UNITY_EDITOR
            Debug.Log("In Editor");
#else
            Screen.SetResolution(width, height, true);
#endif
        }
    }
 // Start is called before the first frame update
 void Awake()
 {
     _animation = GetComponent <Animation>();
     specials   = GameObject.FindGameObjectWithTag("Player").GetComponent <SpecialsManager>();
 }