Compare commits
2 Commits
18702cea0c
...
3b2301b270
Author | SHA1 | Date |
---|---|---|
baz | 3b2301b270 | |
baz | 0c688fb86a |
|
@ -106,4 +106,6 @@ void UHealthComponent::BeginPlay()
|
|||
Super::BeginPlay();
|
||||
|
||||
ResetHealth();
|
||||
|
||||
GetOwner()->OnTakeAnyDamage.AddUniqueDynamic(this, &UHealthComponent::TakeDamage);
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "Kismet/GameplayStatics.h"
|
||||
#include "vampires/PlayerCharacter.h"
|
||||
#include "Components/ProgressBar.h"
|
||||
#include "vampires/HealthComponent.h"
|
||||
#include "vampires/VampireCharacter.h"
|
||||
|
||||
void UHealthbarWidget::NativeConstruct()
|
||||
|
|
Loading…
Reference in New Issue