This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| string path = "../PlatformConfigs/" + region + "/signature.txt"; | |
| UnityEditor.PlayerSettings.NDAPlatform.secretField = System.IO.File.ReadAllText(path); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #if UNITY_STANDALONE | |
| #if STEAM_BUILD | |
| // Steam specific code | |
| #elif GOG_BUILD | |
| // GOG specific code | |
| #else | |
| // Store independent code | |
| #endif | |
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // We're making a platform independent build, so no store dll should be in it. | |
| System.IO.File.Delete("../Builds/DRMFree/Win64/GameTitle_Data/Plugins/Steam.dll"); | |
| System.IO.File.Delete("../Builds/DRMFree/Win64/GameTitle_Data/Plugins/GOG.dll"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| System.IO.Directory.CreateDirectory("../Builds/DRMFree/Win64/GameTitle_Data/Licenses"); | |
| System.IO.File.Copy("Licences/LicenseFile.txt", "../Builds/DRMFree/Win64/GameTitle_Data/Licenses"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [MenuItem("Builds/Win 64bits/DRM Free Worldwide")] | |
| public static void BuildWin64NoDRMWorldwide() { | |
| string[] levels = new string[] { | |
| "Assets/Test_Levels/LoadingScreen.unity", | |
| "Assets/Test_Levels/Main_Menu.unity", | |
| "Assets/Test_Levels/Credits.unity", | |
| "Assets/Test_Levels/Tutorial.unity", | |
| "Assets/Test_Levels/Test_Level.unity", | |
| "Assets/Test_Levels/Death_Menu.unity" | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "C:\Program Files\Unity\Editor\Unity.exe -quit -batchmode -executeMethod BuildWin64NoDRMWorldwide" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [MenuItem("Builds/PC All Platforms/DRM Free")] | |
| public static void BuildAllPCNoDRM() { | |
| BuildWin32NoDRM(); | |
| BuildWin64NoDRM(); | |
| BuildMacOSNoDRM(); | |
| BuildLinuxNoDRM(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [MenuItem("Builds/Win 64bits/DRM Free")] | |
| public static void BuildWin64NoDRM() { | |
| string[] levels = new string[] { | |
| "Assets/Test_Levels/LoadingScreen.unity", | |
| "Assets/Test_Levels/Main_Menu.unity", | |
| "Assets/Test_Levels/Credits.unity", | |
| "Assets/Test_Levels/Tutorial.unity", | |
| "Assets/Test_Levels/Test_Level.unity", | |
| "Assets/Test_Levels/Death_Menu.unity" | |
| }; |
NewerOlder