Give Page Feedback | API

Upgrading - Pooling Primary Cell Object Sub Controllers

The Pooling Primary Cell Object Sub Controller has been renamed within SAM to the Pooling Chunk Manager. You will need to create the new component using the new Deep Space Labs component creation path.

Creating A Pooling Chunk Manager Component

You can add this component by selecting a game object and then selecting from the Top Menu Bar:

Component -> Deep Space Labs -> -> SAM -> Chunk Managers -> Pooling Chunk Manager

Adding A Pooling Chunk Manager Component From The Top Menu Bar GIF

or by selecting a game object and using the Add Component menu via its inspector:

Component -> Deep Space Labs -> -> SAM -> Chunk Managers -> Pooling Chunk Manager

Adding A Pooling Chunk Manager Component From Add Component Menu GIF

Cell Object Loader (Moved)

Cell Object Loaders are now called Chunk Streamers and are assigned via the World Inspector, therefore this setting no longer exist on any of the Chunk Managers.

Cell Object Destroyer (Moved)

Cell Object Destroyers are now called Chunk Destroyers. The responsibility of destroying/removing Asset Chunks has been shifted to the Chunk Streamer class, therefore this field has also been moved to Chunk Streamer classes (under the name Chunk Destroyer).

Post Destroy Yield Time (Removed)

This setting is no longer used.

Use Cell Actions (Removed)

Cell Actions have been replaced by World Grouping Listeners, therefore this field is no longer necessary. You can found more information within the World Grouping Listeners Chapter.

World Grouping Listeners Chapter

Memory Freeing Strategy (Moved)

Again, since the destruction/removal of Asset Chunks is now under the control of Chunk Streamer's, this setting has been moved to Chunk Streamers.

Max Objects To Pool Per Cell -> Max Chunk Sets To Pool Per Cell

Renamed to take into account the possibility of multi-chunking. A Chunk Set refers to the full set of Asset Chunks for a given Streamable Grid Cell.

New Settings

You can leave the other new settings as is. If you wish to learn more about them, take a look at the Pooling Manager Section in the Chunk Managers Chapter.

Pooling Chunk Manager In Detail