Answer the question
In order to leave comments, you need to log in
How to make a transition between unity3d scenes?
How to make it so that when it collides with a certain object, the level is reloaded on the Internet read that Application.loadlevel(Application.loadedLevel), but unity and the editor write Replace with SceneManager ..... the question is how to replace the second part (Application.loadedLevel) using scene manager? I tried to find using Google gives outdated sites using Application ... (maybe I just searched badly)
Answer the question
In order to leave comments, you need to log in
using UnityEngine.SceneManagement;
SceneManager.LoadScene("scene_name")
using UnityEngine.SceneManagement;
SceneManager.LoadScene(scene_id)
Create a script and in it:
void ...{
Application.loadlevel("namelevel");
}<code>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question