Give Page Feedback | API

Upgrading - Distanced Based Primary Cell Object Sub Controllers

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

Creating A Distance 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 -> Distance Pooling Chunk Manager

Adding A Distance 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 -> Distance Pooling Chunk Manager

Adding A Distance 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).

Time To Yield For After Destroying Cell Objects (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.

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.

Active Grids (Removed)

Previously it was necessary to specify the Active Grids the Controller/Manager would be used with. This information is now gathered at runtime automatically by the manager and therefore does not need to be specified explicitly.

Distance To Destroy Objects -> Distance To Destroy Chunks

Setting renamed slightly, however it functions the same as before.

Check Frequency (Retained)

Setting has the same name and functions the same as before.

New Settings

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

Distance Manager In Detail