How To Load The Active Scene Unity

[Solved] How To Load The Active Scene Unity | Csharp - Code Explorer | yomemimo.com
Question : how to load the active scene unity

Answered by : attractive-alligator-utg79j6z7v2t

using UnityEngine.SceneManagement;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{	void LoadScene() {	SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex); }
}

Source : | Last Update : Sun, 31 May 20

Answers related to how to load the active scene unity

Code Explorer Popular Question For Csharp