Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Input

Understand the options for implementing input in Unity.
Read time 1 minuteLast updated 6 days ago

Unity supports input from many types of devices, and almost every project requires input of some kind, whether it is to allow users to navigate a UI, control a character in a game, or move around and interact with objects in virtual reality.
Unity has two methods of implementing input:
  • The Input System Package, which is newer, more flexible, and better supported.
  • The legacy
    Input Manager

    ?

    (which includes the built-in
    Input
    class).

Topic

Description

Introduction to InputUnderstand the different options for implementing input in Unity.
Mobile KeyboardOpen the on-screen keyboard automatically for GUI elements or manually via scripts.
Unity XR inputAccess device controls and features for VR and AR.
Legacy InputReference for the deprecated built-in Input Manager.
IME in UnityType non-ASCII characters using the built-in Input Method Editor support.

Additional resources and examples