mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fixed spawn lookat
This commit is contained in:
parent
a2ec18a06c
commit
3a9eac8e04
@ -186,7 +186,7 @@ public override void OnServerAddPlayer(NetworkConnectionToClient conn)
|
|||||||
else
|
else
|
||||||
player = Instantiate(playerPrefab);
|
player = Instantiate(playerPrefab);
|
||||||
|
|
||||||
player.transform.LookAt(new Vector3(0f, 2f, 0f));
|
player.transform.LookAt(new Vector3(0f, 1f, 0f));
|
||||||
|
|
||||||
PlayerName playerName = player.GetComponent<PlayerName>();
|
PlayerName playerName = player.GetComponent<PlayerName>();
|
||||||
if (authData.isBot)
|
if (authData.isBot)
|
||||||
|
Loading…
Reference in New Issue
Block a user