Skip to content
Snippets Groups Projects
Commit 81f0f39d authored by Jason  Rivalino's avatar Jason Rivalino
Browse files

chore: remove unused variable

parent 40030608
...@@ -20,7 +20,6 @@ namespace CompleteProject ...@@ -20,7 +20,6 @@ namespace CompleteProject
Light gunLight; // Reference to the light component. Light gunLight; // Reference to the light component.
public Light faceLight; // Duh public Light faceLight; // Duh
float effectsDisplayTime = 0.2f; // The proportion of the timeBetweenBullets that the effects will display for. float effectsDisplayTime = 0.2f; // The proportion of the timeBetweenBullets that the effects will display for.
EnemyHealth enemyHealth; // Reference to the EnemyHealth script.
void Awake() void Awake()
{ {
...@@ -37,8 +36,6 @@ namespace CompleteProject ...@@ -37,8 +36,6 @@ namespace CompleteProject
weapon= UnityEngine.GameObject.FindGameObjectsWithTag("Shotgun")[0]; weapon= UnityEngine.GameObject.FindGameObjectsWithTag("Shotgun")[0];
weapon2 = UnityEngine.GameObject.FindGameObjectsWithTag("Shotgun")[1]; weapon2 = UnityEngine.GameObject.FindGameObjectsWithTag("Shotgun")[1];
enemyHealth = GetComponent<EnemyHealth>();
// UnUse weapon at init state of game // UnUse weapon at init state of game
UnUseWeapon(); UnUseWeapon();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment