Another way instead of gettimeseconds

Hi there is another way for doing this instead of getTimeSeconds
you can use

FTimerHandle TimerHandle;
		GetWorld()->GetTimerManager().SetTimer(TimerHandle,this, &UOpenDoor::CloseDoor, 4.0f, false);

and dont forget using
#include “TimerManager.h”

Privacy & Terms