IsotopicIO / iso-space-game

An open source 3D Unity Game
MIT License
11 stars 4 forks source link

Refactoring and Weapon class/asset #22

Closed KAAzadi closed 1 year ago

KAAzadi commented 1 year ago

Refactored the following: -Organized directories to fit the unity UI a bit better -Organized the fields of a couple classes -Refactored GetInput() to update existing struct rather than recreate it -Added a new bool to the current ShipControllerInput struct to recognize when a weapon press is called (This may change to be more of an on-call event handler in the future)

Additionally, I added a ~very~ primitive weapon asset with crosshairs that attach to the player to show where their shots will be going. This particular portion is still WiP.

KAAzadi commented 1 year ago

Accidental PR, I apologize.

ghost commented 1 year ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/IsotopicIO/iso-space-game/22/c6288006/02b4467cfa9e30a2b66f2e41123e5a3554ac2a99.svg)](https://app.codesee.io/r/reviews?pr=22&src=https%3A%2F%2Fgithub.com%2FIsotopicIO%2Fiso-space-game) #### Legend CodeSee Map legend