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