API reference
API reference
Select your platform
No SDKs available
No versions available

ColocationSessionEventHandler Class

Extends MonoBehaviour
This MonoBehaviour is responsible for handling colocation events generated from LocalMatchmaking so we can sequentially complete the colocation process: As host: upon session created, we create alignment anchor and share with the group As guest: upon session discovered, we query the shared anchor from group and align camera with it Both scenarios will report colocation ready to the ColocationController.ColocationReadyCallbacks.
For more information about the group-based Shared Spatial Anchors, checkout the official documentation
Did you find this page helpful?
Thumbs up icon
Thumbs down icon