Unreal Snake Game 1.0.0
Public Member Functions | Private Attributes | List of all members
USG_ObjectPool Class Reference
Inheritance diagram for USG_ObjectPool:

Public Member Functions

template<typename ActorType >
void Reserve (UWorld *World, int32 Num, const TSubclassOf< AActor > &ActorClass)
 
template<typename ActorType >
ActorType * Pop (UWorld *World, const FTransform &Transform, const TSubclassOf< AActor > &ActorClass)
 
template<typename ActorType >
void Add (ActorType *Actor)
 

Private Attributes

TArray< TObjectPtr< AActor > > Pool
 

The documentation for this class was generated from the following file: