Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Removing the extended splash screen

Discussion in 'Windows' started by Lidanh, Sep 8, 2014.

  1. Lidanh

    Lidanh

    Joined:
    Mar 27, 2013
    Posts:
    29
    Hi everyone,

    Today I've compiled my Unity game using the Universal App compilation (8.1 for WP and W8) for the first time (Until now I was using regular Windows Phone 8.0 compilation).
    As a result, Unity created a new project for the Universal app. The project contains an Extended Splash Screen.

    Now, in my game I use Unity's default splash image and my first scene is my splash screen. It works cross-platform (for iOS, Android, Windows Phone 8.0, Windows 8.0). So when the user opens the app, he sees Unity's default splash, my splash (which is a scene) and then the main scene.

    I want to keep using my system for a "second splash screen" instead of the extended splash screen (which is not cross platform).

    How can easily disable the extended splash screen? (And keep working with the scene I created for splash screen)

    Thanks,
    Lidan
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Hi,

    you can doing by simply deleting the xaml code for the splashscreen in MainPage.xaml. You'll also need to remove all the associated code in MainPage.xaml.cs.
     
  3. Lidanh

    Lidanh

    Joined:
    Mar 27, 2013
    Posts:
    29
    Thanks for your reply.

    It means that I need to keep the generated solution under source control so that Unity won't re-write these files every time.
    Is there any other way than editing the generated code? (like a player configuration?)

    Thanks!
    Lidan
     
  4. Aurimas-Cernius

    Aurimas-Cernius

    Unity Technologies

    Joined:
    Jul 31, 2013
    Posts:
    3,642
    No, the only thing we have is splash screen in player settings. You can set it to something that looks very much like your first scene, so that switch between extended splash and your splash is almost unnoticable. In any case you have to set that splash image, because it's shown by windows automatically on startup for some short time.