Project Configuration
Last updated
Last updated
The Pool Configuration in the Project Settings allows you to manage the settings for object pooling in your project. This includes registering objects that will be pooled, configuring recycling intervals, and more. Below is a comprehensive guide on how to utilize these settings.
To access the Pool Configuration settings in Unreal Engine:
Open your project in Unreal Engine.
Navigate to Edit
> Project Settings
.
In the left sidebar, scroll down to Xyris Studios
and select Pooling
.
Registering objects is an essential step in configuring your object pool. This involves mapping object names to their corresponding object pool classes. Here’s how you can register objects:
In the Pool Configuration settings, locate the RegisterObjects
map.
Click the +
button to add a new entry.
In the Key
field, enter a unique string that will be used to reference this object pool.
In the Value
field, select the UObjectPoolClass
that corresponds to the object you want to pool.