Give Page Feedback | API

Secondary Components - World Cell Reference

The World Cell Reference is a special component that can be added to Game Object based Asset Chunks automatically by the World when those Asset Chunks are loaded. The World Cell Reference script allows you to access the internal World Cell object which the Asset Chunk belongs to.

This is useful in situations where you have easy access to the underlying Asset Chunk objects and wish to access World Cell related data, such as location, Streamable Grid Indexes, etc.

You should never need to add this script manually to a Game Object; it is done automatically by the World when Asset Chunks are loaded!

In addition to the World Cell reference, you can also access the Chunk Index of the Asset Chunk the script is on. All Asset Chunks that belong to the same World Cell will have a reference to the same World Cell object.