Skip to main content

Ready to market your stellar app?

Samsung Developer Program is your gateway to app monetization success.

Learn More

Samsung Developer Program

Step 4: Create the InputManager Object

 

In this step, you create an InputManager object to detect user input.

For other steps in this exercise, see Exercise 4: Add Functionality.

 

To create the InputManager object: 

  1. From the Hierarchy view, select Create > Create Empty

 

  1. From the Inspector view, change the name of the empty object to InputManager. This object will be used to detect user input.

 

  1. Click the Add Component button and select Scripts > Input Manager. When an object is tapped in the application, the Is Pressed property will be toggled on and off.

 

  • Was this article helpful?