Renamed walker base variable

This commit is contained in:
Aaron Samaniego 2024-04-11 11:03:36 +02:00 committed by Xavier Solé Nogués
parent 093bb07437
commit a62dc6833f
1 changed files with 2 additions and 2 deletions

View File

@ -22,11 +22,11 @@ public:
bool bAlive = true;
UPROPERTY(Category="Walker Base", BlueprintReadWrite, EditAnywhere)
float AfterLifeSpan = 10.0f;
float LifeSpanAfterDeath = 10.0f;
UFUNCTION(BlueprintCallable)
void StartDeathLifeSpan()
{
SetLifeSpan(AfterLifeSpan);
SetLifeSpan(LifeSpanAfterDeath);
}
};