LoginSignup
1
0

Unityの旧Inputの文字列パラメータ一覧

Posted at

旧Inputでの文字列パラメータ

Input.GetKeyDown(string name)等に渡せる文字列の一覧1がヘルプを見ても載っていなかったのでメモ

private var keys : String[] = [
    "backspace",
    "delete",
    "tab",
    "clear",
    "return",
    "pause",
    "escape",
    "space",
    "up",
    "down",
    "right",
    "left",
    "insert",
    "home",
    "end",
    "page up",
    "page down",
    "f1",
    "f2",
    "f3",
    "f4",
    "f5",
    "f6",
    "f7",
    "f8",
    "f9",
    "f10",
    "f11",
    "f12",
    "f13",
    "f14",
    "f15",
    "0",
    "1",
    "2",
    "3",
    "4",
    "5",
    "6",
    "7",
    "8",
    "9",
    "!",
    "\"",
    "#",
    "$",
    "&",
    "'",
    "(",
    ")",
    "*",
    "+",
    ",",
    "-",
    ".",
    "/",
    ":",
    ";",
    "<",
    "=",
    ">",
    "?",
    "@",
    "[",
    "\\",
    "]",
    "^",
    "_",
    "`",
    "a",
    "b",
    "c",
    "d",
    "e",
    "f",
    "g",
    "h",
    "i",
    "j",
    "k",
    "l",
    "m",
    "n",
    "o",
    "p",
    "q",
    "r",
    "s",
    "t",
    "u",
    "v",
    "w",
    "x",
    "y",
    "z",
    "numlock",
    "caps lock",
    "scroll lock",
    "right shift",
    "left shift",
    "right ctrl",
    "left ctrl",
    "right alt",
    "left alt"
];
  1. KeyCodeのリストはあり

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0