You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
518 B

using UnityEngine;
using UnityEngine.SceneManagement;
namespace BansheeGz.BGSpline.Example
{
//for main menu scene
public class BGTestMainMenu : MonoBehaviour
{
//to let know that scenes are loaded via menu
public static bool Inited;
// Use this for initialization
void Start()
{
Inited = true;
}
//for loading scenes
public void LoadScene(string scene)
{
SceneManager.LoadScene(scene);
}
}
}