Actor Pool Library
- Base:
- UBlueprintFunctionLibrary
- Type:
- UNActorPoolLibrary
- Header File:
- NexusActorPools/Public/NActorPoolLibrary.h
A small collection of functionality to help with connecting Blueprints to the native INActorPoolItem interface.
Operational State​
Bind OnActorOperationalStateChanged​
/**
* An inconvenient way to bind to the OnActorOperationalStateChanged delegate on an INActorPoolItem.
* @note The function definition should be Function(const ENActorOperationalState OldState, const ENActorOperationalState NewState).
* @param Actor The target Actor which implements the INActorPoolItem interface.
* @param Object The UObject to bind to.
* @param FunctionName The function name to bind to.
*/
static void BindOnActorOperationalStateChanged(const TScriptInterface<INActorPoolItem> Actor, UObject* Object, const FName FunctionName)
Unbind OnActorOperationalStateChanged​
/**
* Removes all bindings for the given Object to the OnActorOperationalStateChanged delegate.
* @param Actor The target Actor which implements the INActorPoolItem interface.
* @param Object The UObject to have its matched bindings removed.
*/
static void UnbindOnActorOperationalStateChanged(const TScriptInterface<INActorPoolItem> Actor, UObject* Object)