My script has an error I don’t understand!:Assets/SSTW/ContinueMusic.js(4,22): BCE0017: The best overload for the method ‘UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)’ is not compatible with the argument list ‘(System.Type)’.
Here is the JavaScript:
#pragma strict
function Start () {
DontDestroyOnLoad(GameObject);
}