屏蔽上下移动鼠标 转动视角的操作
This commit is contained in:
parent
d004a37321
commit
faba346d00
@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user