Compare commits

...

2 Commits

Author SHA1 Message Date
Ji Yoon Rhee
68d9fafdf6 added input action reference for walking, binded IA_Walk to Move() function 2024-06-10 18:41:00 +09:00
Ji Yoon Rhee
06bb51a198 binded input actions for walking and jogging for haesol 2024-06-10 18:40:12 +09:00
15 changed files with 36 additions and 17 deletions

Binary file not shown.

View File

@ -117,6 +117,9 @@ void Ahwanyoung2Character::SetupPlayerInputComponent(class UInputComponent* Play
//Moving
EnhancedInputComponent->BindAction(MoveAction, ETriggerEvent::Triggered, this, &Ahwanyoung2Character::Move);
//Walking
EnhancedInputComponent->BindAction(WalkAction, ETriggerEvent::Triggered, this, &Ahwanyoung2Character::Move);
//Looking
EnhancedInputComponent->BindAction(LookAction, ETriggerEvent::Triggered, this, &Ahwanyoung2Character::Look);

View File

@ -43,6 +43,10 @@ class Ahwanyoung2Character : public ACharacter
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
class UInputAction* LookAction;
/** Walk Input Action */
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
class UInputAction* WalkAction;
#pragma endregion
private: