isSandbox

Property

Are we currently in a sandbox space?

Returns bool

Examples

void LogIfInSandbox(string message)
{
// Only send logs while in sandbox to not spam players console
if (SpatialBridge.spaceService.isSandbox)
{
Debug.Log("[Spatial Game] " + message);
}
}
void LogIfInSandbox(string message)
{
// Only send logs while in sandbox to not spam players console
if (SpatialBridge.spaceService.isSandbox)
{
Debug.Log("[Spatial Game] " + message);
}
}