Fixing the IEnemyInterface unresolved error... now onto the AActor * to IEnemyInterface * issue. :(

This commit is contained in:
2025-10-14 23:08:38 -04:00
parent bd3cffb444
commit f9e12b6ba9
20 changed files with 9543 additions and 9546 deletions

View File

@@ -20,6 +20,7 @@ AAuraEnemy::AAuraEnemy()
void AAuraEnemy::HighlightActor()
{
bHighlighted = true;
GetMesh()->SetRenderCustomDepth(true);
GetMesh()->SetCustomDepthStencilValue(250.f);
Weapon->SetRenderCustomDepth(true);
@@ -28,6 +29,7 @@ void AAuraEnemy::HighlightActor()
void AAuraEnemy::UnHighlightActor()
{
bHighlighted = false;
GetMesh()->SetRenderCustomDepth(false);
Weapon->SetRenderCustomDepth(false);
}

View File

@@ -19,6 +19,7 @@ class AURA_API AAuraEnemy : public AAuraCharacterBase, public IEnemyInterface
public:
AAuraEnemy();
bool bHighlighted = false;
//Enemy Interface
virtual void HighlightActor() override;
virtual void UnHighlightActor() override;

View File

@@ -18,7 +18,7 @@ class UEnemyInterface : public UInterface
*/
class AURA_API IEnemyInterface
{
GENERATED_BODY()
GENERATED_BODY()
// Add interface functions to this class. This is the class that will be inherited to implement this interface.
public: