Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AGameModeBase
Description
Overridable function to determine whether an Actor should have Reset called when the game has Reset called on it. Default implementation returns true
| Name | ShouldReset |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
| Include Path | #include "GameFramework/GameModeBase.h" |
UFUNCTION (BlueprintNativeEvent, Category=Game)
bool ShouldReset
(
AActor * ActorToReset
)
true if ActorToReset should have Reset() called on it while restarting the game, false if the GameMode will manually reset it or if the actor does not need to be reset
Parameters
| Name | Remarks |
|---|---|
| ActorToReset | The actor to make a determination for |