GetButton and GetKey
Tutorial
Beginner
5 Mins
Overview
Overview
Summary
This tutorial demonstrates how to get a button or a key for input in a Unity project, and how these axes behave or can be modified with the Unity Input manager.
Part of: Beginner Scripting project
Previous Tutorial: Destroy
Next Tutorial: GetAxis
Topics we'll cover
Language
English
Recommended Unity Versions
4 and Above
Tutorial
GetButton and GetKey