解決しまひた(^^
ボタンの種類をあーして(^^
if (Input.GetKeyDown(KeyCode.Alpha0)&&ボタンの種類==0)
{
Itemmanager.useItem(Slotid);
}
こうしまひた(^^
無事解決でふ(^^