Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
Include |
#include "GameFramework/Actor.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Actor.cpp |
virtual void SetLifeSpan
(
float InLifespan
)
Set the lifespan of this actor. When it expires the object will be destroyed. If requested lifespan is 0, the timer is cleared and the actor will not be destroyed.