Skip to content
Snippets Groups Projects
Commit b069528f authored by Khalil's avatar Khalil
Browse files

update

parent 63006898
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,12 @@
* Fichier : WindowManager.cs
*
* Auteur : Khalil El Ghoul
* Date : Fvrier 2022
* Date : Fvrier 2022
* Groupe : TP 4C
*
* Rsum du fichier :
* Rsum du fichier :
*
* ce fichier gre les fenetre qui s'affiche en gameplay(key binding, menu)
* ce fichier gre les fenetre qui s'affiche en gameplay(key binding, menu)
*
*/
using System.Collections;
......@@ -27,7 +27,7 @@ public class windowManager : MonoBehaviour
// Start is called before the first frame update
void Start()
{
//on recupere la keymap si on la sauvgard
//on recupere la keymap si on la sauvgard
keymap.loadKeymap();
// on initialise la fenetre
window = keymap.initWindow(Canvas);
......@@ -47,7 +47,7 @@ public class windowManager : MonoBehaviour
if (keymap.isPressed("keys"))
{
keymap.saveKeymap();
// on affche la fenetre si elle est cach et inversement
// on affche la fenetre si elle est cach et inversement
keymap.toggoleWindow(window);
handleUiState();
}
......@@ -81,7 +81,7 @@ public class windowManager : MonoBehaviour
//retour au hub
public void goBackHub()
{
SceneManager.LoadSceneAsync("Hub");
SceneManager.LoadSceneAsync("MainMenu");
}
// on gere le ui des fenetre et du jeux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment