Collaborative-Software-Development-Club / Collaborative-Software-Development-Club/Fall2023-UnityProject

Shooting Mechanics

オープン
#4 コメント 0 件 リアクション 0 件 担当者 1 名 @LaineGroty に割り当て済み GitHub で見る
主要言語
ShaderLab
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

- The player should, upon pressing the left mouse button, instantiate a simple projectile from an empty object parented to the character.
- The speed of this projectile should be able to be changed in the Inspector for testing.
- This empty object should be lined up with the player's forward vector. The position will change when weapon models are added.
- There should be a cooldown between shots. Cooldown should be a public variable that can be changed for testing.
- Projectiles should be tagged with the word "Projectile".
- A public variable, "numBullets", should be available. The numBullets variable should decrease by one for each time the player shoots a projectile
- Pressing the "R" key should temporarily make the gun unavailable for use (make a public variable called "reloadCooldown") until a certain period of time has passed. Upon which numBullets should be restored to its starting value.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。