I am using a drop down in my every scene .By which i can select scene and go to that…But swapping between scenes take large time to load…Code i am using to change scene is given below
public class Loadscene : MonoBehaviour
{
public Dropdown dropdown;
void Update()
{
//Add listener for when the value of the Dropdown changes, to take action
dropdown.onValueChanged.AddListener(delegate
{
DropdownValueChanged(dropdown);
});
}
void DropdownValueChanged(Dropdown change)
{
SceneManager.LoadScene(change.value);
}
}
How will the loading speed be increased?