Cleaned up a bit of code, need to work on camera handlign (Isn't as smooth as I want it to be)

This commit is contained in:
Finnchen123
2025-06-07 09:23:38 +02:00
parent 5a68fc0447
commit aa7bb5ec79
14 changed files with 101 additions and 155 deletions

View File

@@ -61,19 +61,9 @@ namespace Assets.Scripts.Player
// Update is called once per frame
void Update()
{
if (player == null)
{
return;
}
if (player.getStat("Killcount").getAmount() == -1)
{
return;
}
if (uihandler.state == UIState.DEATH)
{
return;
}
if (player == null) return;
if (player.getStat("Killcount").getAmount() == -1) return;
if (uihandler.state == UIState.DEATH) return;
getRotation();
regeneratePlayer();