BoundaryMonitor Class

public sealed class BoundaryMonitor : MonoBehaviour

A component which actively monitors boundaries.

This component is not meant to be used outside of the Streamable Assets Manager, and as such many of its members are hidden. Look at the source code provided with the kit if you wish to create your own boundary monitor based on this one for non SAM stuff.

The boundary monitor can have multiple users, each using different boundaries and detection frequencies. Therefore, you should only ever need one Boundary Monitor in a scene.

Methods

UpdateDetectionFrequency(float)

public void UpdateDetectionFrequency(float newDetectionFrequency)

Updates the default frequency at which this Boundary Monitor checks for boundary crosses. Any Active Grid Layers utilizing the default frequency will be updated to reflect this new frequency.

Parameters

Name Type Description
newDetectionFrequency float

The new frequency, in seconds.