PlayerName - removed commented code

This commit is contained in:
MrGadget1024 2023-02-20 02:40:46 -05:00
parent 7fb1d25e06
commit 51e47c733a

View File

@ -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;
}
}