Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to if button pressed do something in c#


        if(Input.GetKeyDown(KeyCode.UpArrow))


        {
            //do something
      
        }
 
PREVIOUS NEXT
Tagged: #button #pressed
ADD COMMENT
Topic
Name
3+2 =