屏蔽上下移动鼠标 转动视角的操作

This commit is contained in:
997146918 2025-09-08 16:27:14 +08:00
parent d004a37321
commit faba346d00

View File

@ -103,7 +103,7 @@ void AShipbase::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
EnhancedInputComponent->BindAction(MoveAction, ETriggerEvent::Triggered, this, &AShipbase::Move); EnhancedInputComponent->BindAction(MoveAction, ETriggerEvent::Triggered, this, &AShipbase::Move);
// Looking // Looking
EnhancedInputComponent->BindAction(LookAction, ETriggerEvent::Triggered, this, &AShipbase::Look); //EnhancedInputComponent->BindAction(LookAction, ETriggerEvent::Triggered, this, &AShipbase::Look);
} }
else else
{ {