diff --git a/Assets/Mirror/Examples/TestNT/Scripts/TestNTNetworkManager.cs b/Assets/Mirror/Examples/TestNT/Scripts/TestNTNetworkManager.cs index 27a3e07c9..882d459a4 100644 --- a/Assets/Mirror/Examples/TestNT/Scripts/TestNTNetworkManager.cs +++ b/Assets/Mirror/Examples/TestNT/Scripts/TestNTNetworkManager.cs @@ -178,15 +178,15 @@ public override void OnServerAddPlayer(NetworkConnectionToClient conn) { TestNTNetworkAuthenticator.AuthRequestMessage authData = (TestNTNetworkAuthenticator.AuthRequestMessage)conn.authenticationData; - Vector3 spawnPos = new Vector3(Random.Range(-20, 20), 5, Random.Range(-20, 20)); + //Vector3 spawnPos = new Vector3(Random.Range(-20, 20), 5, Random.Range(-20, 20)); GameObject player; if (authData.isBot) - player = Instantiate(spawnPrefabs[1], spawnPos, Quaternion.identity); + player = Instantiate(spawnPrefabs[1]); else - player = Instantiate(playerPrefab, spawnPos, Quaternion.identity); + player = Instantiate(playerPrefab); - player.transform.LookAt(new Vector3(0f, 5f, 0f)); + player.transform.LookAt(new Vector3(0f, 2f, 0f)); PlayerName playerName = player.GetComponent(); if (authData.isBot)