private PlayerControlScript SpawnPlayer(Vector3 spawnPoint) { GameObject newPlayer = Instantiate(playerTemplate); PlayerControlScript newPlayerScript = newPlayer.GetComponent <PlayerControlScript>(); newPlayerScript.SetManager(this); newPlayerScript.SetSpawnPosition(spawnPoint); return(newPlayerScript); }