Example 1: unity key detection if (Input.GetKeyDown(KeyCode.Space)) { print("space key was pressed"); } Example 2: unity get key down // KeyCode.
確定! 回上一頁