最終更新:2025-01-31 (金) 18:43:28 (7d)
Unity/入力
http://docs.unity3d.com/ja/current/Manual/Input.html
デフォルト
- HorizontalおよびVertical は w、a、s、d および矢印キーにマッピング
- Fire1、Fire2、Fire3 は Ctrl、Opt(Alt)、Cmd キーにそれぞれマッピング
- Mouse XおよびMouse Y はマウス動作の動きにマッピング
- Window Shake XおよびWindow Shake Y はウインドウの動作にマッピング
仕組み
Unity/Input System
- Unity 2020.1から検証済みに移行
- Unity 2019.1でプレビュー版として導入され、Unity 2019.3で1.0 (まだpreview)
- パッケージとして提供
Unity/Input Manager
- UnityEngine.Input
- Input.GetKey
- Input.GetAxisRaw?
- Input.touches
- ビルトイン
UnityEngine.EventSystems
メモ
- Unity/Input Action?