void Start() { scMgr = new SceneManager (); scMgr.AddLevel (); player = Instantiate(Resources.Load ("prefabs/player", typeof(Player))) as Player; cam = Camera.main; cam.GetComponent<FollowCamera> ().playerMarker = player.transform; player.transform.position = scMgr.RandomAvailableLocation (); }