Compare commits
	
		
			2 Commits
		
	
	
		
			18702cea0c
			...
			3b2301b270
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3b2301b270 | |||
| 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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user