// Update is called once per frame void Update() { if (inputMapper.GetButtonDown(Action.Interact)) { Debug.Log("Interact button pressed"); } if (inputMapper.GetButtonDown(Action.MoveLeft)) { Debug.Log("Move Left button pressed"); } }
// Update is called once per frame void Update() { if (inputMapper.GetButtonDown(Action.Interact)) { Debug.Log("Interact button pressed"); } if (inputMapper.GetButtonDown(Action.MoveLeft)) { Debug.Log("Move Left button pressed"); } }