Enum Key | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Enum Key

    Enumeration of key codes.

    Namespace: UnityEngine.Experimental.Input
    Syntax
    public enum Key
    Remarks

    Named according to the US keyboard layout which is our reference layout.

    Fields

    Name Description
    A
    AltGr
    B
    Backquote
    Backslash
    Backspace
    C
    CapsLock
    Comma
    ContextMenu
    D
    Delete
    Digit0
    Digit1
    Digit2
    Digit3
    Digit4
    Digit5
    Digit6
    Digit7
    Digit8
    Digit9
    DownArrow
    E
    End
    Enter
    Equals
    Escape
    F
    F1
    F10
    F11
    F12
    F2
    F3
    F4
    F5
    F6
    F7
    F8
    F9
    G
    H
    Home
    I
    IMESelected
    Insert
    J
    K
    L
    LeftAlt
    LeftApple
    LeftArrow
    LeftBracket
    LeftCommand
    LeftCtrl
    LeftMeta
    LeftShift
    LeftWindows
    M
    Minus
    N
    None
    NumLock
    Numpad0
    Numpad1
    Numpad2
    Numpad3
    Numpad4
    Numpad5
    Numpad6
    Numpad7
    Numpad8
    Numpad9
    NumpadDivide
    NumpadEnter
    NumpadEquals
    NumpadMinus
    NumpadMultiply
    NumpadPeriod
    NumpadPlus
    O
    OEM1
    OEM2
    OEM3
    OEM4
    OEM5
    P
    PageDown
    PageUp
    Pause
    Period
    PrintScreen
    Q
    Quote
    R
    RightAlt
    RightApple
    RightArrow
    RightBracket
    RightCommand
    RightCtrl
    RightMeta
    RightShift
    RightWindows
    S
    ScrollLock
    Semicolon
    Slash
    Space
    T
    Tab
    U
    UpArrow
    V
    W
    X
    Y
    Z
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023