Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity detect number key

// Replace the 1 with your number
if (Input.GetKeyDown(KeyCode.Alpha1)) {
  //Code here
}
 
PREVIOUS NEXT
Tagged: #unity #detect #number #key
ADD COMMENT
Topic
Name
9+1 =