Implement health modification on enemy kill; add HealOnKillModifier and update death behavior

This commit is contained in:
2025-07-12 12:57:21 +02:00
parent cb793bcc93
commit c3b1ac9213
22 changed files with 330 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ namespace Systems
{
public class PlayerDeathBehavior : MonoBehaviour, IDeathBehavior
{
public void Die()
public void Die(GameObject killer = null)
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}