Unity's Load Screen Script: using UnityEngine; using UnityEngine.SceneManagement; /// /// Load scene using name, or reload the active scene /// public class LoadScene : MonoBehaviour { public void LoadSceneUsingName(string sceneName) { SceneManager.LoadScene(sceneName); } public void ReloadCurrentScene() { SceneManager.LoadScene(SceneManager.GetActiveScene().name); } }
Great content! Looking forward for more added feature for the VR app!
Unity's Load Screen Script:
using UnityEngine;
using UnityEngine.SceneManagement;
///
/// Load scene using name, or reload the active scene
///
public class LoadScene : MonoBehaviour
{
public void LoadSceneUsingName(string sceneName)
{
SceneManager.LoadScene(sceneName);
}
public void ReloadCurrentScene()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().name);
}
}
provide the on button press script please
at least provide scripts that you find elsewhere. or pause the damn screen to allow us to type all that shit in