//ButtonManager Interface public static bool ButtonDown(EButtonCode buttonCode) { ButtonData data = This.GetButtonData(buttonCode); if (data == null) { Debug.Log("ButtonData == null"); return(false); } return(data.GetButtonDown()); }