Compare commits
2 Commits
1b515981f5
...
264db39cc1
Author | SHA1 | Date | |
---|---|---|---|
|
264db39cc1 | ||
|
c956bf2978 |
BIN
hwanyoung2/Content/Hwanyoung/BP_HYGameMode.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/BP_HYGameMode.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_DefaultInputContext.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_DefaultInputContext.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_HYPlayerCharacController.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_HYPlayerCharacController.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_InventoryInputContext.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_InventoryInputContext.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_PlayerCharacterBase.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_PlayerCharacterBase.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_ProjectileInputContext.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/BP_ProjectileInputContext.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_Interact.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_Interact.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_ToggleInventory.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_ToggleInventory.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_UseAbility1.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_UseAbility1.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_UseAbility2.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_UseAbility2.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_UseAbility3.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_UseAbility3.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_UseUltimate.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputActions/IA_UseUltimate.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputMappingContexts/BP_DefaultInputContext.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputMappingContexts/BP_DefaultInputContext.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputMappingContexts/BP_InventoryInputContext.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputMappingContexts/BP_InventoryInputContext.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputMappingContexts/BP_ProjectileInputContext.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Input/InputMappingContexts/BP_ProjectileInputContext.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_Interact.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_Interact.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_ToggleInventory.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_ToggleInventory.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_UseAbility1.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_UseAbility1.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_UseAbility2.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_UseAbility2.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_UseAbility3.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_UseAbility3.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_UseUltimate.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/InputActions/IA_UseUltimate.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/E_AttackStance.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/E_AttackStance.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/ThirdPerson/Blueprints/BP_ThirdPersonCharacter.uasset
(Stored with Git LFS)
Binary file not shown.
@ -4,6 +4,7 @@
|
|||||||
#include "HYPlayerCharacController.h"
|
#include "HYPlayerCharacController.h"
|
||||||
#include "HYGameStateBase.h"
|
#include "HYGameStateBase.h"
|
||||||
#include "hwanyoung2Character.h"
|
#include "hwanyoung2Character.h"
|
||||||
|
#include "EnhancedInputComponent.h"
|
||||||
|
|
||||||
AHYPlayerCharacController::AHYPlayerCharacController()
|
AHYPlayerCharacController::AHYPlayerCharacController()
|
||||||
{
|
{
|
||||||
@ -48,9 +49,15 @@ void AHYPlayerCharacController::SetupInputComponent()
|
|||||||
{
|
{
|
||||||
Super::SetupInputComponent();
|
Super::SetupInputComponent();
|
||||||
|
|
||||||
InputComponent->BindAction(
|
if (UEnhancedInputComponent* EnhancedInputComponent = CastChecked<UEnhancedInputComponent>(InputComponent)) {
|
||||||
"Interact", IE_Pressed, this,
|
EnhancedInputComponent->BindAction(
|
||||||
&AHYPlayerCharacController::Interact);
|
InteractAction, ETriggerEvent::Triggered,
|
||||||
|
this, &AHYPlayerCharacController::Interact);
|
||||||
|
EnhancedInputComponent->BindAction(
|
||||||
|
ToggleInventoryAction, ETriggerEvent::Triggered,
|
||||||
|
this, &AHYPlayerCharacController::ReloadInventory);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AHYPlayerCharacController::OnPossess(APawn* InPawn)
|
void AHYPlayerCharacController::OnPossess(APawn* InPawn)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
#include "HYInteractableActor.h"
|
#include "HYInteractableActor.h"
|
||||||
#include "InventoryItem.h"
|
#include "InventoryItem.h"
|
||||||
|
#include "InputAction.h"
|
||||||
#include "CoreMinimal.h"
|
#include "CoreMinimal.h"
|
||||||
#include "GameFramework/PlayerController.h"
|
#include "GameFramework/PlayerController.h"
|
||||||
#include "HYPlayerCharacController.generated.h"
|
#include "HYPlayerCharacController.generated.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user