예제 #1
0
 protected virtual void OnHorizontalDragStart(Transform rayOrigin, Transform fieldBlock)
 {
     // Get RayInputField from direct children
     foreach (Transform child in fieldBlock.transform)
     {
         var inputField = child.GetComponent <InputField>();
         if (inputField)
         {
             m_DraggedField = inputField as NumericInputField;
             m_DraggedField.BeginSliderDrag(rayOrigin);
             break;
         }
     }
 }