常用方法
常用方法
常用方法
常用方法
private void Update() { HandleRotation(Input.GetAxis("Horizontal")); if (Input.GetButton("Thrust")) { _thruster.Thrust(); } if (Input.GetButtonDown("Fire1")) { HandleFire(); } }
private void Update() { HandleRotation(Input.GetAxis("Horizontal")); if (Input.GetButton("Thrust")) { _thruster.Thrust(); } if (Input.GetButtonDown("Fire1")) { HandleFire(); } }