Skip to content
Snippets Groups Projects
Commit 31b7c8e0 authored by Alexandre's avatar Alexandre
Browse files
parents 6b9d1f14 a732557f
No related branches found
No related tags found
No related merge requests found
...@@ -13166,7 +13166,7 @@ MonoBehaviour: ...@@ -13166,7 +13166,7 @@ MonoBehaviour:
m_GameObject: {fileID: 574233778} m_GameObject: {fileID: 574233778}
m_Enabled: 1 m_Enabled: 1
m_EditorHideFlags: 0 m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 543f8c208058ed4499ab255d7e67956e, type: 3} m_Script: {fileID: 11500000, guid: 5d6bcdd94a9ef2640b6c7a5066f9a7dd, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
--- !u!43 &575727697 --- !u!43 &575727697
This diff is collapsed.
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
<script src="js/uiHandler.js" type="text/javascript"></script> <script src="js/uiHandler.js" type="text/javascript"></script>
<script type="text/javascript"> <script type="text/javascript">
var aWindowsHasBeenOpened = false;
function showGameTextInfo(game){ function showGameTextInfo(game){
if(game == "skateboard"){ if(game == "skateboard"){
gameName = "Sakteboard"; gameName = "Sakteboard";
...@@ -32,6 +33,7 @@ ...@@ -32,6 +33,7 @@
} }
function showGameWindow(game){ function showGameWindow(game){
if(!aWindowsHasBeenOpened){
if(game == "skateboard"){ if(game == "skateboard"){
// On créé la fenêtre pour la liste des parties // On créé la fenêtre pour la liste des parties
var uiWindowGameList = new UIWindow(); var uiWindowGameList = new UIWindow();
...@@ -41,7 +43,7 @@ ...@@ -41,7 +43,7 @@
//uiWindowGameList.hideAnimation = "animate__zoomOut"; //uiWindowGameList.hideAnimation = "animate__zoomOut";
uiWindowGameList.debug = false; uiWindowGameList.debug = false;
uiWindowGameList.preferHide = true; // Pemet de ne pas supprimer le code html au moment de la fermeture de la fenêtre uiWindowGameList.preferHide = true; // Pemet de ne pas supprimer le code html au moment de la fermeture de la fenêtre
uiWindowGameList.closeAction = "reEnableHubInput();"; // Fonction créée au runtime par UI.cs uiWindowGameList.closeAction = "reEnableHubInput();aWindowsHasBeenOpened = false;"; // Fonction créée au runtime par UI.cs
// Puis on l'initialise (pour la créer et prendre en compte les paramètres) // Puis on l'initialise (pour la créer et prendre en compte les paramètres)
uiWindowGameList.init(); uiWindowGameList.init();
...@@ -58,9 +60,14 @@ ...@@ -58,9 +60,14 @@
document.getElementById(textBox).style.marginLeft = "1%"; document.getElementById(textBox).style.marginLeft = "1%";
uiWindowGameList.show(); uiWindowGameList.show();
aWindowsHasBeenOpened = true;
}else{
console.log("Une uiWindow a déjà été ouverte!");
} }
} }
}
//---------AFFICHAGE DES CLASSEMENTS //---------AFFICHAGE DES CLASSEMENTS
function showScoreWindowTmp(str){ function showScoreWindowTmp(str){
var scores = str.split(","); var scores = str.split(",");
......
...@@ -43,6 +43,11 @@ ...@@ -43,6 +43,11 @@
"key": "ShapeComponent.ResetSettings", "key": "ShapeComponent.ResetSettings",
"value": "{\"m_Value\":false}" "value": "{\"m_Value\":false}"
}, },
{
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"key": "editor.stripProBuilderScriptsOnBuild",
"value": "{\"m_Value\":true}"
},
{ {
"type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", "type": "System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"key": "editor.autoRecalculateCollisions", "key": "editor.autoRecalculateCollisions",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment