Example #1
0
 public void OnPointerDown(PointerEventData data)
 {
     if (m_PairedWith == null)
     {
         FindPairedButton();
     }
     // update the axis and record that the button has been pressed this frame
     Debug.Log("Updateing something" + m_Axis.ToString());
     m_Axis.Update(Mathf.MoveTowards(m_Axis.GetValue, axisValue, responseSpeed * Time.deltaTime));
 }