Ben I.
6
Q:

is start called after dontdestroyonload

 void Start(){
     DontDestroyOnLoad (gameObject);
 }

// how to call start/awake when loading a new scene on an object
// that has DontDestroyOnLoad.
 void OnLevelWasLoaded(){
     Debug.Log ("A new scene was loaded");
 }

1

Tags

New to Communities?

Join the community