added enemy dead animation

This commit is contained in:
Mausham
2025-12-30 17:51:20 -08:00
parent 0ec69f66c9
commit b59d12631f
16 changed files with 41248 additions and 54 deletions

View File

@@ -11,6 +11,7 @@ namespace Darkmatter.Core
public event Action OnJumpPerformed;
public event Action OnAdsCameraSwitch;
public event Action OnReloadPerformed;
public bool isShooting { get; private set; }
public Vector2 moveInput { get; private set; }
public Vector2 lookInput { get; private set; }
@@ -62,5 +63,13 @@ namespace Darkmatter.Core
OnAdsCameraSwitch?.Invoke();
}
}
public void OnReload(InputAction.CallbackContext context)
{
if(context.performed)
{
OnReloadPerformed?.Invoke();
}
}
}
}