So I wrote:
if(Input.GetButtonDown(“left ctrl”))
{
Debug.Log(“left ctrl down”);
}
and it says(compiler) that there is an error bc left ctrl dosnt exist.
Try to use this code.
: Input.GetKeyDown(KeyCode.LeftControl)
So I wrote:
if(Input.GetButtonDown(“left ctrl”))
{
Debug.Log(“left ctrl down”);
}
and it says(compiler) that there is an error bc left ctrl dosnt exist.
Try to use this code.
: Input.GetKeyDown(KeyCode.LeftControl)