Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Unity Input Key Message

    private void Update()
    {
        if (Input.GetKeyDown(KeyCode.Space))
        {
            Debug.Log("Enter");
        }
    }
 
PREVIOUS NEXT
Tagged: #Unity #Input #Key #Message
ADD COMMENT
Topic
Name
8+9 =