UBlueprintAsyncActionBase::RegisterWithGameInstance

Call to globally register this object with a game instance, it will not be destroyed until SetReadyToDestroy is called This allows having an action stay alive until SetReadyToDestroy is manually called, allowing it to be used inside loops or if the calling BP goes away

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintAsyncActionBase.h

Include

#include "Kismet/BlueprintAsyncActionBase.h"

Source

/Engine/Source/Runtime/Engine/Private/Kismet/BlueprintAsyncActionBase.cpp

Syntax

virtual void RegisterWithGameInstance
(
    UGameInstance * GameInstance
)

Remarks

Call to globally register this object with a game instance, it will not be destroyed until SetReadyToDestroy is called This allows having an action stay alive until SetReadyToDestroy is manually called, allowing it to be used inside loops or if the calling BP goes away

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss