Renamed walker base variable
This commit is contained in:
parent
093bb07437
commit
a62dc6833f
|
@ -22,11 +22,11 @@ public:
|
||||||
bool bAlive = true;
|
bool bAlive = true;
|
||||||
|
|
||||||
UPROPERTY(Category="Walker Base", BlueprintReadWrite, EditAnywhere)
|
UPROPERTY(Category="Walker Base", BlueprintReadWrite, EditAnywhere)
|
||||||
float AfterLifeSpan = 10.0f;
|
float LifeSpanAfterDeath = 10.0f;
|
||||||
|
|
||||||
UFUNCTION(BlueprintCallable)
|
UFUNCTION(BlueprintCallable)
|
||||||
void StartDeathLifeSpan()
|
void StartDeathLifeSpan()
|
||||||
{
|
{
|
||||||
SetLifeSpan(AfterLifeSpan);
|
SetLifeSpan(LifeSpanAfterDeath);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue