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