Prechádzať zdrojové kódy

Show the canvas immediately in unix because the splash doesn't work.

Daniel Buckmaster 10 rokov pred
rodič
commit
a6702d1331

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

@@ -40,7 +40,7 @@ function createCanvas(%windowTitle)
    // Create the Canvas
    %foo = new GuiCanvas(Canvas)
    {
-      displayWindow = false;
+      displayWindow = $platform !$= "windows";
    };
    
    // Set the window title

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

@@ -40,7 +40,7 @@ function createCanvas(%windowTitle)
    // Create the Canvas
    %foo = new GuiCanvas(Canvas)
    {
-      displayWindow = false;
+      displayWindow = $platform !$= "windows";
    };
    
    // Set the window title

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

@@ -40,7 +40,7 @@ function createCanvas(%windowTitle)
    // Create the Canvas
    %foo = new GuiCanvas(Canvas)
    {
-      displayWindow = false;
+      displayWindow = $platform !$= "windows";
    };
    
    // Set the window title

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

@@ -40,7 +40,7 @@ function createCanvas(%windowTitle)
    // Create the Canvas
    %foo = new GuiCanvas(Canvas)
    {
-      displayWindow = false;
+      displayWindow = $platform !$= "windows";
    };
    
    // Set the window title