// Use this for initialization
 void Start()
 {
     BuildNavMesh();
     if (m_spawnObjects)
     {
         m_obstacleSpawner.GenerateObjects();
         BuildNavMesh();
     }
 }