Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);

    }
 
PREVIOUS NEXT
Tagged: #scenemanager
ADD COMMENT
Topic
Name
6+6 =