Merge remote-tracking branch 'origin/main' into fmod-integration
This commit is contained in:
commit
d4fbc87b5a
Binary file not shown.
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_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/HY_DefaultInputContext.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/HY_DefaultInputContext.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/Playables/Haesol/NewAnimBlueprint.uasset
(Stored with Git LFS)
Normal file
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Playables/Haesol/NewAnimBlueprint.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Playables/Haesol/NewAnimMontage.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Character/PlayerCharacter/Playables/Haesol/NewAnimMontage.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/AC_HPSystem.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/AC_HPSystem.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/Hwanyoung/Illusions/GeneralizedBlueprints/I_Damagable.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/Hwanyoung/Illusions/GeneralizedBlueprints/I_Damagable.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/KoreanTraditionalMartialArts/Animations/Hwando/Anim_Hwando_Attack1_Soldier.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/KoreanTraditionalMartialArts/Animations/Hwando/Anim_Hwando_Attack1_Soldier.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/KoreanTraditionalMartialArts/Animations/Hwando/Anim_Hwando_Attack2_Soldier.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/KoreanTraditionalMartialArts/Animations/Hwando/Anim_Hwando_Attack2_Soldier.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/KoreanTraditionalMartialArts/Animations/Hwando/Anim_Hwando_Attack3_Soldier.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/KoreanTraditionalMartialArts/Animations/Hwando/Anim_Hwando_Attack3_Soldier.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
hwanyoung2/Content/KoreanTraditionalMartialArts/Animations/Hwando/Anim_Hwando_Attack4_Soldier.uasset
(Stored with Git LFS)
BIN
hwanyoung2/Content/KoreanTraditionalMartialArts/Animations/Hwando/Anim_Hwando_Attack4_Soldier.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 "HYGameStateBase.h"
|
||||
#include "hwanyoung2Character.h"
|
||||
#include "EnhancedInputComponent.h"
|
||||
|
||||
AHYPlayerCharacController::AHYPlayerCharacController()
|
||||
{
|
||||
@ -48,9 +49,15 @@ void AHYPlayerCharacController::SetupInputComponent()
|
||||
{
|
||||
Super::SetupInputComponent();
|
||||
|
||||
InputComponent->BindAction(
|
||||
"Interact", IE_Pressed, this,
|
||||
&AHYPlayerCharacController::Interact);
|
||||
if (UEnhancedInputComponent* EnhancedInputComponent = CastChecked<UEnhancedInputComponent>(InputComponent)) {
|
||||
EnhancedInputComponent->BindAction(
|
||||
InteractAction, ETriggerEvent::Triggered,
|
||||
this, &AHYPlayerCharacController::Interact);
|
||||
EnhancedInputComponent->BindAction(
|
||||
ToggleInventoryAction, ETriggerEvent::Triggered,
|
||||
this, &AHYPlayerCharacController::ReloadInventory);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void AHYPlayerCharacController::OnPossess(APawn* InPawn)
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "HYInteractableActor.h"
|
||||
#include "InventoryItem.h"
|
||||
|
||||
#include "InputAction.h"
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/PlayerController.h"
|
||||
#include "HYPlayerCharacController.generated.h"
|
||||
@ -44,6 +44,10 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
int32 InventoryWeightLimit;
|
||||
|
||||
/** MappingContext */
|
||||
UPROPERTY(EditAnywhere, Category = Input, meta = (AllowPrivateAccess = "true"))
|
||||
class UInputMappingContext* InputMapping;
|
||||
|
||||
/** Toggle inventory GUI Input Action */
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
|
||||
class UInputAction* ToggleInventoryAction;
|
||||
|
@ -50,9 +50,11 @@ void Ahwanyoung2Character::BeginPlay()
|
||||
{
|
||||
if (UEnhancedInputLocalPlayerSubsystem* Subsystem = ULocalPlayer::GetSubsystem<UEnhancedInputLocalPlayerSubsystem>(PlayerController->GetLocalPlayer()))
|
||||
{
|
||||
Subsystem->AddMappingContext(DefaultMappingContext, 0);
|
||||
Subsystem->AddMappingContext(InputMapping, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void Ahwanyoung2Character::CheckForInteractables()
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/Character.h"
|
||||
#include "InputActionValue.h"
|
||||
#include "InputAction.h"
|
||||
#include "hwanyoung2.h"
|
||||
#include "hwanyoung2Character.generated.h"
|
||||
|
||||
@ -28,8 +28,8 @@ class Ahwanyoung2Character : public ACharacter
|
||||
|
||||
#pragma region Character Gameplay Input Action
|
||||
/** MappingContext */
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
|
||||
class UInputMappingContext* DefaultMappingContext;
|
||||
UPROPERTY(EditAnywhere, Category = Input, meta = (AllowPrivateAccess = "true"))
|
||||
class UInputMappingContext* InputMapping;
|
||||
|
||||
/** Jump Input Action */
|
||||
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Input, meta = (AllowPrivateAccess = "true"))
|
||||
|
Loading…
Reference in New Issue
Block a user