public static bool IsButtonDown(string buttonName)
 {
     if (!isInputAllowed)
     {
         return(false);
     }
     return((m_instance != null && m_instance.GetButtonDown != null) ? m_instance.GetButtonDown(buttonName) : DefaultGetButtonDown(buttonName));
 }
Beispiel #2
0
 public static bool IsButtonDown(string buttonName)
 {
     return((m_instance != null && m_instance.GetButtonDown != null) ? m_instance.GetButtonDown(buttonName) : false);
 }