증거품 UI
This commit is contained in:
@@ -10,7 +10,10 @@ public class InputManager : MonoBehaviour, GameInput.IPlayerActions
|
||||
|
||||
private GameInput _input;
|
||||
|
||||
public event Action OnDialogNext_Event;
|
||||
public event Action OnDialogNext_Event;
|
||||
public event Action OnEvidence_Event;
|
||||
public event Action OnEvidencePrev_Event;
|
||||
public event Action OnEvidenceNext_Event;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -37,4 +40,22 @@ public void OnDialogNext(InputAction.CallbackContext ctx)
|
||||
if (ctx.phase == InputActionPhase.Started)
|
||||
OnDialogNext_Event?.Invoke();
|
||||
}
|
||||
|
||||
public void OnEvidence(InputAction.CallbackContext ctx)
|
||||
{
|
||||
if (ctx.phase == InputActionPhase.Started)
|
||||
OnEvidence_Event?.Invoke();
|
||||
}
|
||||
|
||||
public void OnEvidencePrev(InputAction.CallbackContext ctx)
|
||||
{
|
||||
if (ctx.phase == InputActionPhase.Started)
|
||||
OnEvidencePrev_Event?.Invoke();
|
||||
}
|
||||
|
||||
public void OnEvidenceNext(InputAction.CallbackContext ctx)
|
||||
{
|
||||
if (ctx.phase == InputActionPhase.Started)
|
||||
OnEvidenceNext_Event?.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user