public virtual void ItemSelected(float arg) { if (Scroller != null) { Scroller.ItemSelected(this, arg); } }
/// <summary> /// This function notifies the scroller that the item was selected. You can link to this /// function via the event system in Unity UI to handle the selected callback for you. /// </summary> public virtual void ItemSelected() { if (Scroller != null) { Scroller.ItemSelected(this); } }