From 51e47c733a3eee27ffc4c3c40a795400f007f7cc Mon Sep 17 00:00:00 2001 From: MrGadget1024 <9826063+MrGadget1024@users.noreply.github.com> Date: Mon, 20 Feb 2023 02:40:46 -0500 Subject: [PATCH] PlayerName - removed commented code --- Assets/Mirror/Examples/TestNT/Scripts/PlayerName.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Assets/Mirror/Examples/TestNT/Scripts/PlayerName.cs b/Assets/Mirror/Examples/TestNT/Scripts/PlayerName.cs index 99aefbc19..1d894e085 100644 --- a/Assets/Mirror/Examples/TestNT/Scripts/PlayerName.cs +++ b/Assets/Mirror/Examples/TestNT/Scripts/PlayerName.cs @@ -30,11 +30,6 @@ void OnValidate() this.enabled = false; } - //public override void OnStartServer() - //{ - // playerName = (string)connectionToClient.authenticationData; - //} - public override void OnStartClient() { mainCamTransform = Camera.main.transform; @@ -48,7 +43,6 @@ public override void OnStopClient() void LateUpdate() { - //nameText.text = transform.position.ToString(); nameText.transform.forward = mainCamTransform.forward; } }