Fixing the IEnemyInterface unresolved error... now onto the AActor * to IEnemyInterface * issue. :(
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user