0 corresponds to the slider all the way to the right and 100 corresponds to the slider all the way to the left.
What ports can I use it on?
1,2,7,8
Code
var position = Magic.modules.slider.position;
using Magic;
public class Demo : MonoBehaviour
{
// create a reference to the module
public Magic.Modules.SliderModule slider;
void Start()
{
}
void Update()
{
// access the property of the module
int position = slider.position;
}
}