Join Jesse Freeman for an in-depth discussion in this video The Input classes, part of Unity 5: UI.
- Now that we've gone though the button component,…let's take a look at how the UI input system works.…Let's create a new scene called, Input Scene,…and save it into our Scenes folder.…Next let's create a new button.…Now let's walk through the components…on the event system.…There are three main components,…there is the event system itself,…there is the stand-alone input module,…and there is the touch input module.…
Each of these handle a specific task…when it come to capturing input.…The event system is what controls all the input.…You can tell the event system which UI element…to select it first, you can also check whether…or not it sends navigation events…and also you can define the drag threshold…if you're doing drag and drop with the UI.…Next, in the stand-alone input module,…this handles input coming from an axis.…
An axis is mapped to your project's input.…Let's take a look at the project settings in Input.…Here you'll see all the default Axises…that your game can have.…There's Horizontal, Vertical, Fire1s through 3,…
- Adding new components to the Canvas
- Working with RectTransforms
- Nesting UI elements
- Adding rich text and effects to the UI
- Creating images
- Styling UI buttons
- Handling input
- Creating sliders
- Controlling the layout of the screen
- Adding toggles and dropdowns
Skill Level Intermediate
1. The Canvas
2. Working with the RectTransform
3. Working with Text
4. Working with Images
5. Working with Buttons
6. Handling UI Input
7. Working with a Slider
8. Controlling Layout
9. Toggles, Dropdowns, and the Input Field
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.