由例子中的if用法可以知道,Input.GetKey()是一個布林值,成立(輸入)就會true。 接收輸入主要有兩種寫法:GetKey 和GetButton 。 1.GetKey: //變數定義public static bool ...
確定! 回上一頁