Passion & UI

This commit is contained in:
SoulliesOfficial
2026-06-12 17:11:39 -04:00
parent 7bc1e1722c
commit 6d7ebc5825
3444 changed files with 865284 additions and 463132 deletions

View File

@@ -19,6 +19,7 @@ namespace Cielonos.MainGame.Characters
public partial class PlayerOperationSubcontroller
{
public event Action OnInteract;
public event Action<int> OnNavigateInteractionChoice;
public event Action<Vector3, float> OnDash;
public event Action<float> OnDodge;
@@ -67,6 +68,8 @@ namespace Cielonos.MainGame.Characters
{
public void Interact() => OnInteract?.Invoke();
public void NavigateInteractionChoice(int delta) => OnNavigateInteractionChoice?.Invoke(delta);
public void Dash(Vector3 direction, float length = -1) => OnDash?.Invoke(direction, length);
public void Dodge(float length = -1) => OnDodge?.Invoke(length);