UISlider.Start C# (CSharp) Method

Start() public method

We want to receive drag events from the thumb.
public Start ( ) : void
return void
	void Start ()
	{
		Init();

		if (Application.isPlaying && thumb != null && thumb.GetComponent<Collider>() != null)
		{
			UIEventListener listener = UIEventListener.Get(thumb.gameObject);
			listener.onPress += OnPressThumb;
			listener.onDrag += OnDragThumb;
		}
		Set(rawValue, true);
	}