how to see if they are aholding down a key unity

C#
input.GetKey("Key")
Source

Also in C#: