Daniel Buckmaster 11 лет назад
Родитель
Сommit
76b2e4e975
2 измененных файлов с 8 добавлено и 2 удалено
  1. 4 1
      Templates/Empty/game/main.cs.in
  2. 4 1
      Templates/Full/game/main.cs.in

+ 4 - 1
Templates/Empty/game/main.cs.in

@@ -38,7 +38,10 @@ function createCanvas(%windowTitle)
    }
    }
 
 
    // Create the Canvas
    // Create the Canvas
-   %foo = new GuiCanvas(Canvas);
+   %foo = new GuiCanvas(Canvas)
+   {
+      displayWindow = false;
+   };
    
    
    // Set the window title
    // Set the window title
    if (isObject(Canvas))
    if (isObject(Canvas))

+ 4 - 1
Templates/Full/game/main.cs.in

@@ -38,7 +38,10 @@ function createCanvas(%windowTitle)
    }
    }
 
 
    // Create the Canvas
    // Create the Canvas
-   %foo = new GuiCanvas(Canvas);
+   %foo = new GuiCanvas(Canvas)
+   {
+      displayWindow = false;
+   };
    
    
    // Set the window title
    // Set the window title
    if (isObject(Canvas))
    if (isObject(Canvas))