This commit is contained in:
2025-05-11 00:46:26 +08:00
parent 366f9e95ec
commit 618f75f911
2404 changed files with 154475 additions and 924730 deletions

View File

@@ -44,11 +44,11 @@ namespace NBF
private void Update()
{
firstPersonController.horizontal = InputManager.movementAxis.x;
firstPersonController.vertical = InputManager.movementAxis.y;
firstPersonController.isJumping = InputManager.isJumping;
firstPersonController.isRuning = InputManager.isRunning;
// firstPersonController.horizontal = InputManager.movementAxis.x;
// firstPersonController.vertical = InputManager.movementAxis.y;
//
// firstPersonController.isJumping = InputManager.isJumping;
// firstPersonController.isRuning = InputManager.isRunning;
// firstPersonController.m_MouseLook.ControllerHandMode = GameManager.Instance._playerData
// .Player[GameManager.Instance._playerData.currentPlayerProfileIndex].controllerSetup;
@@ -77,30 +77,30 @@ namespace NBF
if (_player.CanChangeGear())
{
if (InputManager.isShowSlot0)
{
nextShowSlotIndex = 0;
}
if (InputManager.isShowSlot1)
{
nextShowSlotIndex = 1;
}
if (InputManager.isShowSlot2)
{
nextShowSlotIndex = 2;
}
if (InputManager.isShowSlot3)
{
nextShowSlotIndex = 3;
}
if (InputManager.isShowSlot4)
{
nextShowSlotIndex = 4;
}
// if (InputManager.isShowSlot0)
// {
// nextShowSlotIndex = 0;
// }
//
// if (InputManager.isShowSlot1)
// {
// nextShowSlotIndex = 1;
// }
//
// if (InputManager.isShowSlot2)
// {
// nextShowSlotIndex = 2;
// }
//
// if (InputManager.isShowSlot3)
// {
// nextShowSlotIndex = 3;
// }
//
// if (InputManager.isShowSlot4)
// {
// nextShowSlotIndex = 4;
// }
if (nextShowSlotIndex != -1)
{