Refactor: added GameManager
This commit is contained in:
@@ -24,12 +24,12 @@ public class InGameMouseHandler : MonoBehaviour
|
||||
|
||||
private void Start()
|
||||
{
|
||||
InputManager.Instance.PlayerAction.PointClick.performed += ClickToMove;
|
||||
GameManager.Instance.Input.PlayerAction.PointClick.performed += ClickToMove;
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
InputManager.Instance.PlayerAction.PointClick.performed += ClickToMove;
|
||||
GameManager.Instance.Input.PlayerAction.PointClick.performed += ClickToMove;
|
||||
}
|
||||
|
||||
private void ClickToMove(InputAction.CallbackContext context)
|
||||
|
||||
Reference in New Issue
Block a user