private void Update() { if (Input.GetKeyDown(KeyCode.Return)) { NewMap(); return; } if (_cubeCoordinates.GetCoordinatesFromContainer("all").Count == 0) { return; } if (Input.GetKeyDown(KeyCode.Backspace)) { _cubeCoordinates.ShowCoordinatesInContainer("all"); } if (Input.GetKeyDown(KeyCode.L)) { ShowExample("line"); } if (Input.GetKeyDown(KeyCode.R)) { ShowExample("reachable"); } if (Input.GetKeyDown(KeyCode.S)) { ShowExample("spiral"); } if (Input.GetKeyDown(KeyCode.P)) { ShowExample("path"); } }