private void Update() { if (Input.GetKey(_keyController.MoveUp)) { _avatar.MoveUp(); } if (Input.GetKey(_keyController.MoveDown)) { _avatar.MoveDown(); } if (Input.GetKeyDown(_keyController.UseItem)) { Debug.Log("UseItem"); } if (Input.GetKeyDown(_keyController.SelectShopLeft)) { Debug.Log("SelectShopLeft"); } if (Input.GetKeyDown(_keyController.SelectShopRight)) { Debug.Log("SelectShopRight"); } if (Input.GetKeyDown(_keyController.Buy)) { Debug.Log("Buy"); } _selfRigidbody2D.velocity = Vector2.zero; }