Search Unity

Preloading During Splashscreen

Discussion in 'Localization Tools' started by pedrobarcha, May 7, 2021.

  1. pedrobarcha

    pedrobarcha

    Joined:
    Mar 1, 2021
    Posts:
    1
    Hi there!

    My first scene contains text that I want to localize. However when the application reaches it, the localization hasn't loaded yet and thus the text doesn't get localized until my second scene. What's the best way to work it around? I thought about preloading it during the splashscreen, but idk if this is the best choice and how to do it.

    Thanks in advance!
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    If you splash screen is a Scene then you can preload it by calling InitializationOperation.
    Take a look at the Preloading sample to see how you can wait. Samples can be found in the package manager window.