/// <summary> /// Generates the minimap /// </summary> private void GenerateMiniMap() { var minimap = new MiniMap { anchored = false }; var cords = minimap.GetPosition(); cords.width = 200; cords.height = 140; minimap.SetPosition(cords); _graphView.Add(minimap); }