How do I get the Scene Fader to start with the Initialize On Load command?
Hi - I'm using the code shown below to fade my scenes together, and I want it to load on launch. How do I put the Scene Fader together with the Initialize On Load command? Thanks!
using System.Collections;
using UnityEngine.SceneManagement;
using UnityEngine;
public class TitlePageFadeIn : MonoBehaviour {
public void TitleSceneFadeIn() {
SceneFader.instance.LoadLevel ("TitleScene");
}
} //SceneFader
Comment
Your answer
Follow this Question
Related Questions
Startup Crash on new PC, new installation 1 Answer
Android game works in Unity SDK but doesn't work on device 1 Answer
How do I stop Unity Editor from crashing on startup? "Unity Editor is not working" 0 Answers
What's the easiest way to fade a sprite in? - Looking for equiv of jQuery's fadeIn() 0 Answers
Black Screen on Unity Startup 5 Answers