Game Jams/Ludum Dare 46/Game/Assets/Scripts/Ui/Brightness.cs
/// <summary>
/// Update is called every frame, if the MonoBehaviour is enabled.
/// </summary>
Update is called every frame, if the MonoBehaviour is enabled.
Update is called every frame if the MonoBehaviour is enabled .
void Update()
    {
        if(Parent.GetComponent<Pause>().isPaused){
            HandleValueChanged(slider.GetComponent<Slider>().value);
        }
    }
void Update ( ) { if ( Parent . GetComponent < Pause > ( ) . isPaused ) { HandleValueChanged ( slider . GetComponent < Slider > ( ) . value ) ; } }
Update is called every frame, if the MonoBehaviour is enabled.
Update is called every frame if the MonoBehaviour is enabled .