Skip to content

Instantly share code, notes, and snippets.

@sGambolati
Last active February 28, 2018 20:30
Show Gist options
  • Save sGambolati/8de9961974ff1c3d28f194c92a6f6a6f to your computer and use it in GitHub Desktop.
Save sGambolati/8de9961974ff1c3d28f194c92a6f6a6f to your computer and use it in GitHub Desktop.
private void ScanStateChanged()
{
if (SpatialUnderstanding.Instance.ScanState == SpatialUnderstanding.ScanStates.Scanning)
{
LogSurfaceState();
}
else if (SpatialUnderstanding.Instance.ScanState == SpatialUnderstanding.ScanStates.Done)
{
InstanciateObjectOnFloor();
InstanciateObjectOnSurface();
InstanciateObjectOnWall();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment