From 7fcb45b3867b408bde5d41c312ed44d574daa655 Mon Sep 17 00:00:00 2001 From: Bayu Satiyo Date: Sun, 10 Sep 2023 11:27:41 +0700 Subject: [PATCH] Add ability to remove watermark Signed-off-by: Bayu Satiyo --- Program.cs | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 9a61f5c..b99bcf9 100644 --- a/Program.cs +++ b/Program.cs @@ -211,6 +211,7 @@ static void Main(string[] args) // Get required fields to remove the splash screen bool isProVersion = buildSettingsBase["hasPROVersion"].AsBool; bool showUnityLogo = playerSettingsBase["m_ShowUnitySplashLogo"].AsBool; + bool noWatermark = buildSettingsBase["isNoWatermarkBuild"].AsBool; if (isProVersion && !showUnityLogo) { @@ -254,6 +255,7 @@ out int logoDuration // Remove Unity splash screen by flipping these boolean fields buildSettingsBase["hasPROVersion"].AsBool = !isProVersion; // true playerSettingsBase["m_ShowUnitySplashLogo"].AsBool = !showUnityLogo; // false + buildSettingsBase["isNoWatermarkBuild"].AsBool = !noWatermark; // Iterate over "m_SplashScreenLogos" to find Unity splash screen logo AssetTypeValueField? unityLogo = null; diff --git a/README.md b/README.md index 6435353..15d2946 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ ## Overview -The Unity Splash Screen Remover is a Command-Line Interface (CLI) tool designed to remove the Unity splash screen logo from Unity-built games. +The Unity Splash Screen Remover is a Command-Line Interface (CLI) tool designed to remove the Unity splash screen logo + [watermark](https://forum.unity.com/threads/i-am-using-personal-but-there-is-trial-version-water-mark-after-build.591610/#post-3975343) from Unity-built games. The tool is an implementation of the guide available at . By utilizing this tool, you can easily remove Unity splash screen logo from your games and keep your own logo displayed.