Skip to content
Snippets Groups Projects
Commit 31b7c8e0 authored by Alexandre's avatar Alexandre
Browse files
parents 6b9d1f14 a732557f
Branches
No related tags found
No related merge requests found
......@@ -13166,7 +13166,7 @@ MonoBehaviour:
m_GameObject: {fileID: 574233778}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 543f8c208058ed4499ab255d7e67956e, type: 3}
m_Script: {fileID: 11500000, guid: 5d6bcdd94a9ef2640b6c7a5066f9a7dd, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!43 &575727697
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -18,6 +18,7 @@
<script src="js/uiHandler.js" type="text/javascript"></script>
<script type="text/javascript">
var aWindowsHasBeenOpened = false;
function showGameTextInfo(game){
if(game == "skateboard"){
gameName = "Sakteboard";
......@@ -32,6 +33,7 @@
}
function showGameWindow(game){
if(!aWindowsHasBeenOpened){
if(game == "skateboard"){
// On créé la fenêtre pour la liste des parties
var uiWindowGameList = new UIWindow();
......@@ -41,7 +43,7 @@
//uiWindowGameList.hideAnimation = "animate__zoomOut";
uiWindowGameList.debug = false;
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)
uiWindowGameList.init();
......@@ -58,9 +60,14 @@
document.getElementById(textBox).style.marginLeft = "1%";
uiWindowGameList.show();
aWindowsHasBeenOpened = true;
}else{
console.log("Une uiWindow a déjà été ouverte!");
}
}
}
//---------AFFICHAGE DES CLASSEMENTS
function showScoreWindowTmp(str){
var scores = str.split(",");
......
......@@ -43,6 +43,11 @@
"key": "ShapeComponent.ResetSettings",
"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",
"key": "editor.autoRecalculateCollisions",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment