Vérifiez pour Held Hey Unity

if(Input.GetButton("buttonname"))
{
//do this code
}
Stormy Salamander