TheMuseumProject/Assets/Plugins/Simple Scene Fade Load System/Demo (You don't have to import this folder)/DemoScript.cs

13 lines
260 B
C#

using UnityEngine;
public class DemoScript : MonoBehaviour
{
//name of the scene you want to load
public string scene;
public Color loadToColor = Color.white;
public void GoFade()
{
Initiate.Fade(scene, loadToColor, 1.0f);
}
}