mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
PlayerName - removed commented code
This commit is contained in:
parent
7fb1d25e06
commit
51e47c733a
@ -30,11 +30,6 @@ void OnValidate()
|
|||||||
this.enabled = false;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//public override void OnStartServer()
|
|
||||||
//{
|
|
||||||
// playerName = (string)connectionToClient.authenticationData;
|
|
||||||
//}
|
|
||||||
|
|
||||||
public override void OnStartClient()
|
public override void OnStartClient()
|
||||||
{
|
{
|
||||||
mainCamTransform = Camera.main.transform;
|
mainCamTransform = Camera.main.transform;
|
||||||
@ -48,7 +43,6 @@ public override void OnStopClient()
|
|||||||
|
|
||||||
void LateUpdate()
|
void LateUpdate()
|
||||||
{
|
{
|
||||||
//nameText.text = transform.position.ToString();
|
|
||||||
nameText.transform.forward = mainCamTransform.forward;
|
nameText.transform.forward = mainCamTransform.forward;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user