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