瀏覽代碼

Fixed template scripts.

Daniel Buckmaster 11 年之前
父節點
當前提交
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
-   %foo = new GuiCanvas(Canvas);
+   %foo = new GuiCanvas(Canvas)
+   {
+      displayWindow = false;
+   };
    
    // Set the window title
    if (isObject(Canvas))

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

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