Why this no work?
This commit is contained in:
@@ -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<UAuraAbilitySystemComponent>(AbilitySystemComponent)->AbilityActorInfoSet();
|
||||
|
||||
InitializeDefaultAttributes();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user