can anyone tell me why this code is no working?
Instantiate(NewCamPre,transform.position,transform.rotation);
I used in another project which works fine, just not in my other one. I get the following error:
Assets/Scripts/Launch.js(67,20): BCE0023: No appropriate version of ‘UnityEngine.Object.Instantiate’ for the argument list ‘(System.Type, UnityEngine.Vector3, UnityEngine.Quaternion)’ was found.