Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

onkeypressed unity

public void Update()
 {
      if (Input.GetKeyUp(KeyCode.X))
     {
        //do stuff
     }
 }
 
PREVIOUS NEXT
Tagged: #onkeypressed #unity
ADD COMMENT
Topic
Name
3+9 =