Ładunek sceny jedności przez BuildIndex
using UnityEngine;
using UnityEngine.SceneManagement;
public class testing : MonoBehaviour
{
private void Update()
{
//Name of index scene to load here
int buildIndex = 1;
//Load the scene with a build index
SceneManager.LoadScene(buildIndex);
}
}
M.Bilal Nawaz