la unidad obtiene valor de barra de desplazamiento

// To get the value of a scrollbar, use below
gameObject.GetComponent<Scrollbar>().value;
SkelliBoi