private void Awake()
 {
     SpeedControlManager = GameObject.Find("GameStateManager").GetComponent <SpeedControlManager>();
     if (SpeedControlManager == null)
     {
         throw new MissingComponentException("Where's the SpeedControlManager?");
     }
 }
    private void Awake()
    {
        debrisConfigurationController = GetComponent <DebrisConfigurationController>();

        if (debrisConfigurationController == null)
        {
            throw new MissingComponentException("No DebrisConfigurationController found");
        }

        SpeedControlManager = GameObject.Find("GameStateManager").GetComponent <SpeedControlManager>();
        if (SpeedControlManager == null)
        {
            throw new MissingComponentException("Where's the SpeedControlManager?");
        }
    }
    private void Awake()
    {
        SpeedControlManager = GameObject.Find("GameStateManager").GetComponent <SpeedControlManager>();

        if (SpeedControlManager == null)
        {
            throw new MissingComponentException("Can't find SpeedControlManager!");
        }

        CurrentText = GetComponent <Text>();

        if (CurrentText == null)
        {
            throw new MissingComponentException("Can't find CurrentText!");
        }
    }
    private void Awake()
    {
        DifficultyManager = GetComponent <DifficultyManager>();

        if (DifficultyManager == null)
        {
            throw new MissingComponentException("No DifficultyManager found");
        }

        SpeedControlManager = GetComponent <SpeedControlManager>();

        if (SpeedControlManager == null)
        {
            throw new MissingComponentException("No SpeedControlManager found");
        }
    }