Skip to content

Commit

Permalink
Add ability to remove watermark
Browse files Browse the repository at this point in the history
Signed-off-by: Bayu Satiyo <[email protected]>
  • Loading branch information
kiraio-moe committed Sep 10, 2023
1 parent 79120cc commit 7fcb45b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/kiraio-moe/remove-unity-splash-screen>. By utilizing this tool, you can easily remove Unity splash screen logo from your games and keep your own logo displayed.

Expand Down

0 comments on commit 7fcb45b

Please sign in to comment.