private void OnArraySizeChanged(float value)
    {
        m_ArraySizeSlider.value = (int)value;

        if ((int)value != m_ArraySize)
        {
            m_ArraySize             = (int)value;
            m_ArraySizeGUIText.text = m_ArraySize.ToString();

            // size of this array will be set from given slider
            BarsManager.Instance.SetValues(
                ArrayGenerator.CreateRandomArray(m_ArraySize, m_MinimumRange, m_MaximumRange), this);
        }
    }