Question by 
               _Anno · May 08, 2016 at 08:05 PM · 
                scripting problemscene-loading  
              
 
              Any help 'updating' this script?
So I've been using the script below to manage scenes and load levels for a while now, it still works fine but I know that with Unity 5.3 'Application.loadlevel' is obsolete and its now preferred to use Unity's new scene managemen. However I simply don't know how to 'Update' this script, any help would be appreciated.
Heres the script I use:
using UnityEngine; using System.Collections;
public class SceneManager : MonoBehaviour {
  public void ChangeToLevel(string sceneToChangeTo) {
      Application.LoadLevel(sceneToChangeTo);
 }
 
               }
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Is there any way to recreate the executable? 0 Answers
Use of SceneManager.MoveGameObjectToScene? 2 Answers
How to instantiate objects upon scene load? 1 Answer
Why when i change a scene things doesn't change? 0 Answers
how can i save highest played level?,how can i save number of highest played level? 0 Answers