         "Use WASD keys to move, RMB to rotate view\n"
         "LMB to set destination, SHIFT+LMB to teleport\n"
         "MMB or O key to add or remove obstacles\n"
+        "Tab to toggle navigation mesh streaming\n"
         "Space to toggle debug geometry";
     instructionText.SetFont(cache.GetResource("Font", "Fonts/Anonymous Pro.ttf"), 15);
     // The text has multiple rows. Center them in relation to each other

Vector3 endPos;
Array<Vector3> currentPath;
Node@ jackNode;

void Start()
{


    // Make Jack follow the Detour path
    FollowPath(timeStep);

    // Update streaming
    if (input.keyPress[KEY_TAB])
    {
        useStreaming = !useStreaming;
        SwitchStreaming(useStreaming);
    }
    if (useStreaming)
        StreamNavMesh();
}

void HandlePostRenderUpdate(StringHash eventType, VariantMap& eventData)
