refactor: moved a lot of player related scripts to the Reset.Units namespace

This commit is contained in:
Chris
2025-10-07 21:30:32 -04:00
parent 6c0163090b
commit 5886c9783b
19 changed files with 518 additions and 401 deletions

View File

@@ -15,7 +15,7 @@ namespace Reset.Units{
private void SetMaxHealth(){
if (maxHealth == 0f) {
Debug.LogError($"Max health is not set for type of <b>{((object)this)}</b>. Setting to 10000.");
Debug.LogError($"Max health is not set for <b>{((MonoBehaviour)this).name}</b>. Setting to 10000.");
currentHealth = 10000f;
} else {
currentHealth = maxHealth;