From 951b45b07c0a18f7596507d98aaf0d4770bbe272 Mon Sep 17 00:00:00 2001 From: Tsukiyomi Date: Fri, 17 Oct 2025 14:46:42 -0400 Subject: [PATCH] Why this no work? --- Source/Aura/Private/Character/AuraEnemy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Aura/Private/Character/AuraEnemy.cpp b/Source/Aura/Private/Character/AuraEnemy.cpp index c4bade2..c742861 100644 --- a/Source/Aura/Private/Character/AuraEnemy.cpp +++ b/Source/Aura/Private/Character/AuraEnemy.cpp @@ -20,7 +20,6 @@ AAuraEnemy::AAuraEnemy() void AAuraEnemy::HighlightActor() { - bHighlighted = true; GetMesh()->SetRenderCustomDepth(true); GetMesh()->SetCustomDepthStencilValue(250.f); Weapon->SetRenderCustomDepth(true); @@ -29,7 +28,6 @@ void AAuraEnemy::HighlightActor() void AAuraEnemy::UnHighlightActor() { - bHighlighted = false; GetMesh()->SetRenderCustomDepth(false); Weapon->SetRenderCustomDepth(false); } @@ -47,6 +45,8 @@ void AAuraEnemy::BeginPlay() void AAuraEnemy::InitAbilityActorInfo() { - AbilitySystemComponent->InitAbilityActorInfo(this,this); + AbilitySystemComponent->InitAbilityActorInfo(this, this); Cast(AbilitySystemComponent)->AbilityActorInfoSet(); + + InitializeDefaultAttributes(); }