Мой код для справки:
Код: Выделить всё
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelSwap : MonoBehaviour
{
public string level_to_load = "Stage2"; //
Подробнее здесь: [url]https://stackoverflow.com/questions/79181753/any-way-to-make-a-dropdown-scene-selector-in-unity[/url]