Commit 23893ac4 authored by ATREVI Dieudonne's avatar ATREVI Dieudonne
Browse files

- minor bug fixed

- Hide progression bar (next step)
parent 16066d64
......@@ -197,7 +197,7 @@ public class MenuManager : MonoBehaviour
configPanel.SetActive(false);
controlPanel.SetActive(true);
topMenuPanel.SetActive(true);
slider.SetActive(true);
//slider.SetActive(true);
GameObject.Find("/controlCanvas/fakePanel/topMenu").SetActive(false);
}
......@@ -211,7 +211,7 @@ public class MenuManager : MonoBehaviour
panel.SetActive(!panel.activeSelf);
controlPanel.SetActive(!panel.activeSelf);
topMenuPanel.SetActive(!panel.activeSelf);
slider.SetActive(!panel.activeSelf);
//slider.SetActive(!panel.activeSelf);
// Pause the scenario while showing the menu
Time.timeScale = 0;
}
......@@ -225,7 +225,7 @@ public class MenuManager : MonoBehaviour
Time.timeScale = 0; // Pause the scenario when modifying the parameters
configPanel.SetActive(!configPanel.activeSelf);
controlPanel.SetActive(!controlPanel.activeSelf);
slider.SetActive(!slider.activeSelf);
//slider.SetActive(!slider.activeSelf);
topMenuPanel.SetActive(false);
ConfigManager.showConfig();
}
......@@ -241,7 +241,7 @@ public class MenuManager : MonoBehaviour
ConfigReader.LoadConfig(configPath);
env.updateScenario(ConfigReader.trajectoriesDir);
controlPanel.SetActive(!controlPanel.activeSelf);
slider.SetActive(!panel.activeSelf);
//slider.SetActive(!panel.activeSelf);
topMenuPanel.SetActive(true);
Time.timeScale = 1; // start after the parameters modification
}
......
......@@ -8,7 +8,7 @@
<rotation x="0" y="0" z="0" />
</env_stageInfos>
<cam>
<position x="-36.31199" y="-3" z="5" />
<position x="-29.80366" y="-3" z="5" />
<rotation x="30.00001" y="0" z="90" />
<lookAtAgent agentID="-1" />
<followAgent agentID="0" followOnX="true" followOnY="false" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment