Okay, so I’m trying to load a scene by pressing a UI Button, as demonstrated in a tutorial video (linked below). Unfortunately, the method depicted in that video is outdated, so that closes off that path. Plus, the Unity tutorial for the UI Button, while helpful, doesn’t really help me get any closer to the answer I’m looking for.
Is there an equivalent of “load scene via button click” for Unity version 5.4.1?
-
Video in question: Let's Make a Visual Novel in Unity! (Part 2) (Menus) - YouTube
-
A copy of the script used:
using UnityEngine; using System.Collections; public class SceneSelectButton : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void LoadSceneSelect () { Application.LoadLevel(1); } }