GetKey(KeyCode.Space)) { Debug.Log("Shooting a bullet while SpaceBar is held down"); //Instantiate bullet GameObject bullet = Instantiate(bulletPrefab, ...
確定! 回上一頁