Answers for "scenemanager c#"

C#
0

scenemanager c#

using UnityEngine;
using UnityEngine.SceneManagement;

public class ExampleScript: MonoBehaviour
{
     public string Scene; // Put int the Name of the scene you want to load :)
     // Active when the game/app starts :)
    void Start()
    {          
    SceneManager.LoadScene(Scene);

    }
Posted by: Guest on April-08-2021

C# Answers by Framework

Browse Popular Code Answers by Language