Exemple #1
0
 public virtual void ItemSelected(float arg)
 {
     if (Scroller != null)
     {
         Scroller.ItemSelected(this, arg);
     }
 }
Exemple #2
0
 /// <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);
     }
 }